r_programming_lab
r_programming_lab
IT]
Prerequisite:
Basic knowledge of computers, basic knowledge of programming
Course Objective:
Enable students to use basic object oriented features in coding. Enable students to develop small projects
Course Outcome
After completion of this course students will be able to
CO1: Apply R programming concepts in designing programs.
CO2: Analyze different dimensions of a problem and provide optimal solutions. CO3: Evaluate and analyze different
solution based for data analysis.
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO1 3 - - - - - - - - - - - Course
CO2 - 3 - 2 - - - - - - - -
CO3 - - 3 2 - - - - - - - -
Contents:
1.Download and install R-Programming environment and install basic packages using install.packages() command in R.
2. Learn all the basics of R-Programming (Data types, Variables, Operators etc,.)
3. Write a program to find list of even numbers from 1 to n using R-Loops.
4. Create a function to print squares of numbers in sequence.
5. Write a program to join columns and rows in a data frame using cbind() and rbind() in R.
6. Implement different String Manipulation functions in R.
7. Implement different data structures in R (Vectors, Lists, Data Frames)
8. Write a program to read a csv file and analyze the data in the file in R.
9.Create pie chart and bar chart using R.
10. Create a data set and do statistical analysis on the data using R.
Textbooks:
Norman Matloff, The Art of R Programming, UC Davis 2009.
WEB REFERENCE:
https://www.r-project.org/