Displaying 3 results from an estimated 3 matches for "seunghong".
Did you mean:
seungho
2009 Jun 17
2
cumulative sum in data frame
Dear R-Help List,
I have a question about data manipulation. I tried to make code myself but too much for me. I would greatly appreciate your help.
I have data set consisting of site (from 1 to N1) and distance and there are several variables (1 to N2) collected from each sampling site. I am interested in looking at cumulative sums of each variable based on site and distance like below.
Can
2009 Jun 19
1
Adding site id to xyplot
Dear R Lists,
Can anyone help me add site IDs (site: 1~50) directly to my xyplot. I have 50 sites and collected observations from the sites at 13 different time points. I want to look at the change of my observations in each site. I was able to make a graph using xyplot, however, I can't find how to add site IDs within the graph not adding them in the legend. Overall, I would like to be able
2009 Jun 29
2
Add ID numbers on a plot
Dear List,
I have (for example) 50 observations collected from 50 experimental sites and want to look at changes of 50 observations as function of time in a graph. I found that I could do that using R-code below:
time2 <- 1:25
y1=rnorm(25, mean=0, sd=1)
y2=rnorm(25, mean=0, sd=1)
...
y50=rnorm(25, mean=2, sd=1)
plot(time2, y1, type='b', xlim=range(0,30), ylim=range(y1, y2),