Hi all

I have point data along a transect and I want to divide the transect into
small blocks of 10m length each. I have named the blocks as a list i.e
subset[[i]]. Now the issue is I want to process only those blocks that have
at least 100 data points and keep the original index values of those
subsets. How do I set the for loop. I have tried the following but it is
still processing everything

select<-which(nrow(subset[[i]])>=100
for (i in c(select)){
..............
}
 Thank you in advance,

David Gwenzi
Graduate Degree Program in Ecology
Natural Resources Ecology Lab
Colorado State University

        [[alternative HTML version deleted]]

______________________________________________
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