[R] R graphics: Add labels to stacked bar chart

2010-09-02 Thread Jens Oldeland
! -- + Dipl.Biol. Jens Oldeland Biodiversity of Plants Biocentre Klein Flottbek and Botanical Garden University of Hamburg Ohnhorststr. 18 22609 Hamburg, Germany Tel:0049-(0)40-42816-407 Fax:0049-(0)40-42816-543 Mail: oldel...@botanik.uni-hamburg.de oldel...@gmx.de (for

Re: [R] Legend with fill = gray ?

2010-09-01 Thread Jens Oldeland
No...but it works! I do not know why I did not find it... Many thanks! Hi David, thanks to you as well. Greg Snow schrieb: > Did you try gray.colors(3)? > __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do re

Re: [R] Legend with fill = gray ?

2010-09-01 Thread Jens Oldeland
Hi, sorry for beeing unprecise. I am looking for a legend that has the same colors as the barplot. For a coloured version I would simply use the same fill=rainbow() option as used in creating the barplot. However, this does not work when there are gray values, because there are not defined in the

[R] Legend with fill = gray ?

2010-09-01 Thread Jens Oldeland
Hi, I am facing a problem with the legend, I donĀ“t know how to use the fill option in the legend in order to achieve the same standard gray levels that are plotted. Sorry for this easy one, but I really did not find anything so far. It works fine with color: ## C O L O R mat <- matrix(2,3,r

Re: [R] Error in segmented() output from segmented package

2009-11-04 Thread Jens Oldeland
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] sampling quadrats of increasing size in a list of matrices

2009-06-30 Thread Jens Oldeland
question separately. Your kind help will be highly appreciated! Jens -- +++++ Dipl.Biol. Jens Oldeland University of Hamburg Biocentre Klein Flottbek and Botanical Garden Ohnhorststr. 18 22609 Hamburg, Germany Tel:0049-(0)40-42816-407 Fax:0049-

[R] problem with nested loops

2008-07-30 Thread Jens Oldeland
Dear all, I have a problem with constructing a nested loop. I have two matrices: pnr: 800 rows 14 columns where rows are 40x20 meaning that 40 rows belong to one of twenty objects in the matrix pnr mvp: 20 rows and 14 columns I want to: calculate a distance value with the first 40 rows of

[R] Rank Values in a Matrix

2008-05-19 Thread Jens Oldeland
? i have looked in several packages (vegan, labdsv etc.) because I am working with species by site tables, but without success. perhaps I looked for the wrong terms (rank matrix etc.) thank you for your help regards, Jens -- +++++ Dipl.Biol. Jens Oldeland Uni

Re: [R] Reading an ArcGIS raster file

2008-04-05 Thread Jens Oldeland
at/html/import.asc.html this allows to import your raster files and use it for calculations. are you sure about your floating point data? or are there only "some" digits after the "." ? hope this helped? best, Jens -- > ----

[R] Delete Columns with zeros

2008-01-31 Thread Jens Oldeland
quot;. thank you Jens -- +++++ Dipl.Biol. Jens Oldeland University of Hamburg Biocentre Klein Flottbek and Botanical Garden Ohnhorststr. 18 22609 Hamburg, Germany Tel:0049-(0)40-42816-407 Fax:0049-(0)40-42816-543 Mail: [EMAIL PROTECTED] [EMAIL PROTECTED] (for attachments > 2mb!!) http://w

[R] Significance of clarkevans in spatstat

2007-12-05 Thread Jens Oldeland
-- + Dipl.Biol. Jens Oldeland University of Hamburg Biocentre Klein Flottbek and Botanical Garden Ohnhorststr. 18 22609 Hamburg, Germany Tel:0049-(0)40-42816-407 Fax:0049-(0)40-42816-543 Mail: [EMAIL PROTECTED] [EMAIL PROTECTED] (for attachments > 2mb!!) http://www.biologie.

[R] Projection of Shapefiles using Maptools

2007-11-14 Thread Jens Oldeland
Dear R-Users I have successfully imported my Shapefile using maptools with the following command lines, and I hoped that my object (nc) will be recognized as projected data, so I have included the CRS command: library(maptools) p4s = CRS("+proj=longlat +datum=WGS84") nc = readShapePoints("D:/P