Re: [R] Find the average line from several lines

2012-10-04 Thread David Winsemius
On Oct 3, 2012, at 10:31 PM, Greg Lollback wrote: > Hi people, > > I'm looking at the influence of sample size on a dataset, so I randomly > sampled from the data with different sample sizes multiple times using > the "sample" and "replicate" function. For example: > > /replicate(1000, sample

[R] Find the average line from several lines

2012-10-03 Thread Greg Lollback
Hi people, I'm looking at the influence of sample size on a dataset, so I randomly sampled from the data with different sample sizes multiple times using the "sample" and "replicate" function. For example: /replicate(1000, sample("variable name", "sample size", replace=T))/. I saved the data,