Hi y'all,

I wrote two functions; 1) sparsely samples a point pattern and 
calculates the Clark Evans R value and Z score, 2) calls the first 
function multiple times using a for loop and generates a histogram. 
I would like to know if there is a more efficient way of calling the 
first function other than using the for loop.  Any ideas?

cel<-data.frame("R"=0,"RZ"=0,"CV"=0,"PVAL"=0,"INT"=0)
for(i in 1:N) cel[i,]<-cezhpts(dat,np,cv)

Thanks,

Keith Jones

______________________________________________
R-help@r-project.org 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.

Reply via email to