University of Mysore - C1 Examination
Subject: Programming in R
Answer any FIVE questions. Each question carries equal marks.
1. Explain numeric, arithmetic, and vector operations in R with examples.
2. Write a program in R to create and display a matrix.
3. Explain lists and data frames in R with suitable examples.
4. What are special values in R? Explain NA, NaN, Inf, and NULL with examples.
5. Explain the concept of coercion in R with examples.
6. Explain the types of loops in R with examples.
7. Write an R program to create and use a function.
Page 1