R Help Desk: How can I avoid this loop or make it faster?

“R Help Desk: How can I avoid this loop or make it faster?” published in R News.

true , true
2008-05-01

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Ligges & Fox, "R Help Desk: How can I avoid this loop or make it faster?", R News, 2008

BibTeX citation

@article{RN-2008-008,
  author = {Ligges, Uwe and Fox, John},
  title = {R Help Desk: How can I avoid this loop or make it faster?},
  journal = {R News},
  year = {2008},
  note = {https://journal.r-project.org/articles/RN-2008-008/},
  volume = {8},
  issue = {1},
  issn = {1609-3631},
  pages = {46-50}
}