Menu

R PROGRAMMING - (LAB MANUAL)


[R22] B-Tech III Year I Semester R Programming Lab Mannual JNTU Hyderabad (JNTUH).


This tutorial provides Lab Programs on various topics of R Programming using R-Programming environment.

R Programming Lab Programs


1. Download and install R-Programming environment and install basic packages using install. packages() command in R. View Solution
2. Learn all the basics of R-Programming (Data types, Variables, Operators etc,.) View Solution
3. Write R command to
i) Illustrate summation, subtraction, multiplication, and division operations on vectors using vectors.
ii) Enumerate multiplication and division operations between matrices and vectors in R console
View Solution
4. Write R command to
i) Illustrates the usage of Vector subsetting and Matrix subsetting
ii) Write a program to create an array of 3×3 matrixes with 3 rows and 3 columns.
View Solution
5. Write an R program to draw i) Pie chart ii) 3D Pie Chart, iii) Bar Chart along with chart legend by considering suitable CSV file View Solution
6. Create a CSV file having Speed and Distance attributes with 1000 records. Write R program to draw
i) Box plots
ii) Histogram
iii) Line Graph
iv) Multiple line graphs
v) Scatter plot
to demonstrate the relation between the cars speed and the distance.
View Solution
7. Implement different data structures in R (Vectors, Lists, Data Frames) View Solution
8. Write an R program to read a csv file and analyze the data in the file using EDA (Explorative Data Analysis) techniques. View Solution
9. Write an R program to illustrate Linear Regression and Multi linear Regression considering suitable CSV file View Solution