Skip to content
Prev 43530 / 398506 Next

for loops?

Hello R people!

How can one use a for loop (or something similar) in R?  As I type in each
line, I get syntax errors... I'm just confused how much to type in at each
">" prompt.

Thanks for your help,
cathy



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Catherine M. Stein
Research Assistant, Tuberculosis Research Unit
Doctoral Candidate in Genetic Epidemiology
Department of Epidemiology and Biostatistics
Case Western Reserve University
office: (216)368-0875 or (216)778-1378
e-mail: kasia at darwin.cwru.edu, or cmstein at cwru.edu
http://darwin.cwru.edu/~kasia

EPBI Student Resources Page:
http://hal.epbi.cwru.edu/stures/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~