Displaying 1 result from an estimated 1 matches for "yourlength".
Did you mean:
outlength
2011 Apr 05
3
loop question
Dear all,
I am trying to set up a list with 1:c objects each meant to capture the
coefficients for one coefficient and 100 replications. I receive the
following error message:
Error in betaboot[[p]] : subscript out of bounds.
My code is below. Where is my mistake?
Many thanks,
Thomas
_________________________________
betaboot<-list(NULL)
for (i in 1:c) {
betaboot[[i]]<-cbind()
}