[R] 3D scatterplot, using size of symbols for the fourth variable

2012-07-23 Thread elpape
Dear R fans, I would like to create a scatterplot showing the relationship between 4 continuous variables. I thought of using the package "scatterplot 3d" to have a 3-dimensional plot and then using the size of the symbols to represent the 4th variable. Does anybody know how to do this? I alrea

[R] number of shared species between sites (VEGAN or RICH?)

2012-07-09 Thread elpape
Dear all I'm trying to calculate the number of shared species between sites. I have a dataframe with in the first column the names of the sites; the names of the other columns are the species names. To use the shared function from the package RICH one needs to input different matrices. So actuall

Re: [R] vertically stacked area plot?

2012-01-03 Thread elpape
Hello, Thank you very much for your prompt replies! @Jean V Adams: yes, that looks a lot like the graph that I want! I'm wondering though if there isn't an easier way (i.e. less code) to do this? Like, for instance, using the stackpoly function (but modified, so that a vertically stacked plot can

[R] vertically stacked area plot?

2011-12-30 Thread elpape
Dear all, I would like to create a vertically stacked area chart in R. The data are presented in the attached text file. I would like to see the trend in values for the different groups with sediment depth (that's why I would like to create a vertically stacked chart; normally sed_depth should b

Re: [R] vertical kites in KiteChart (plotrix)

2010-10-13 Thread elpape
r/SendEmail.jtp?type=node&node=2993501&i=0>> > wrote: > > > On 10/13/2010 07:11 PM, elpape wrote: > >> > >> Dear everyone, > >> > >> I would like to create a kite chart in which I plot densities (width of > >> the > >> verti

Re: [R] vertical kites in KiteChart (plotrix)

2010-10-13 Thread elpape
idvar="distance", direction="wide") > > > > # replace NAs with 0 (don't think kiteChart likes NA) > > Xwide[ is.na(Xwide) ] <- 0 > > > > kiteChart(Xwide) > > > > I haven't considered all of your plot requirements here but hopefully

[R] vertical kites in KiteChart (plotrix)

2010-10-13 Thread elpape
Dear everyone, I would like to create a kite chart in which I plot densities (width of the vertical kites) in relation to sediment depth (on reversed y-axis) for 6 different locations (Distances from seep site, on x-axis on top of the plot). The dataset I would like to use is: Distance_from_se