My dear R buddies, I'm writing a loop program like this:
for(i in 1:n){ for(j in 1:i){ ... } } I wonder if there is any simple apply()-like function to make the loop a little bit easier and faster. Thanks a lot. Best wishes, -- 彭河森 Hesen Peng http://hesen.peng.googlepages.com/ ______________________________________________ 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.