- Introduction to R.
- Least-square line fitting to data points Reference
- R help files: Search R functions R reference card R help Index
- R files from lectures: rforbiologists.org

Please visit rforbiologists.org and do the following Exercises on this website:

Conditionals and loops- Exercises III: Problems 1, 2, 3.

Write an R code that asks the user to enter an integer. Your code should print out whether the number is odd or even. You should use the %% operator of R. a%%b gives the remainder of the division a/b. For example: 21%%2 is 1, but 22%%2 is 0.