0% found this document useful (0 votes)
3 views

R Programming Lab

The document outlines a series of R programming lab exercises for students at Seshadripuram Degree College. It includes tasks related to data structures, variables, operators, sorting algorithms, statistical calculations, linear algebra, data visualization, and linear regression applications. Each task is designed to enhance students' practical skills in R programming.

Uploaded by

darshankr04
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

R Programming Lab

The document outlines a series of R programming lab exercises for students at Seshadripuram Degree College. It includes tasks related to data structures, variables, operators, sorting algorithms, statistical calculations, linear algebra, data visualization, and linear regression applications. Each task is designed to enhance students' practical skills in R programming.

Uploaded by

darshankr04
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

1. Write a R program for different types of data structures in R.


2. Write a R program that include variables, constants, data types.
3. Write a R program that include different operators, control structures, default
values for arguments, returning complex objects.
4. Write a R program for quick sort implementation, binary search tree.
5. Write a R program for calculating cumulative sums, and products minima
maxima and calculus.
6. Write a R program for finding stationary distribution of markanov chains.
7. Write a R program that include linear algebra operations on vectors and
matrices.
8. Write a R program for any visual representation of an object with creating
graphs using graphic functions:
Plot(),Hist(),Linechart(),Pie(),Boxplot(),Scatterplots().
9. Write a R program for with any dataset containing data frame objects,
indexing and subsetting data frames, and employ manipulating and analyzing
data.
10. Write a program to create an any application of Linear Regression in
multivariate context for predictive purpose.

1|Page
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

2|Page
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

3|Page
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

4|Page
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

1)a <- array(c('green','yellow'),dim = c(3,3,2))


print(a)

2) a <- array(c('green','yellow'),dim = c(3,3,4))


print(a)

5|Page
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

6|Page
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

7|Page
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

8|Page
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

9|Page
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

10 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

11 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

12 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

13 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

14 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

15 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

16 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

17 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

18 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

19 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

20 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

21 | P a g e
R PROGRAMMING LAB SESHDRIPURAM DEGREE COLLEGE

22 | P a g e

You might also like