Greetings,
I am exploring some random forest analysis methods and have come upon one
aspect I don't fully understand from any manual. The code of interest is
as follows from the randomForest package:
myiris=cbind(iris[1:4], matrix(runif(508*nrow(iris)),nrow(iris),508))
This would be following by the rfcv() function for cross-validation but I
am confused about the former syntax.
My question is why 508? Is this some arbitrary number that one just
chooses are is there some logic to the choice? I have looked through the
package documentation and the runif() help which tells me that runif(n,
min=0, max=1):
n=length of observations
min&max = lower and upper limits
I still don't follow exactly what is taking place here.
Regards,
Charles
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.