[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

[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 -

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

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: [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
. 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-(0)40-42816-543 Mail: oldel

[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
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 University of Hamburg Biocentre

[R] Delete Columns with zeros

2008-01-31 Thread Jens Oldeland
. 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.uni-hamburg.de/bzf

[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.uni