Re: [R] data export HELP!

2010-07-11 Thread jim holtman
Not necessarily the best way if your dataframe will get large, but it should work: parameters <- NULL # where you will collect the result for(j in 1:dim(r)[2]){ indiv=r[,j][which(r[,j]>-1)] #removes -1 growth data age.1=age[1:length(indiv)] length.ind=data.frame(age.1,indiv,

[R] data export HELP!

2010-07-11 Thread adriana1986
Hello! So, this is going to seem like a very simple question - I am quite new to R and am having some trouble figuring out little nuances: I am running a loop that goes through my data and performs a nls parameter estimation on each data set. At the end of the loop, I would like to collect the p