SAGE University, Indore
Institute Name: Advance Computing Department Name: Advance Computing
Recommended Programs :
1. BTech (Computer Science Semester : VI
and Engineering)
Course Name R Programming Lab Course Code ACTDSRPR001P
L T P N C
Credit Score
0 0 4 - 2
Prerequisites Unix/Linux Programming LAB (DSEC-V) (ACTDSULP001P)
The objectives of this course are to :
1. Understand the basic of data analytics using concepts of statistics and
Course probability.
Objectives 2. Understand the needs of data processing techniques.
3. Implement the data analytics techniques using R.
4. Apply the data analytics techniques in real life applications.
Course
List of Experiments:
Content
1. FUNDAMENTALS OF R
● Installation of R & R Studio
● Features of R
● Variables in R
● Constants in R
● Operators in R
● Datatypes and R Objects
● Accepting Input from keyboard
● Important Built-in functions
2. VECTORS
● Creating Vectors
● Accessing elements of a Vector
● Operations on Vectors
● Vector Arithmetic
3. CONTROL STATEMENTS
● I statement
● if…else statement
● if else() function
● switch() function
● repeat loop
● while loop
● for loop
● break statement
● next statement
4. FUNCTIONS IN R
● Formal and Actual arguments
● Named arguments
● Global and local variables
● Argument and lazy evaluation of functions
● Recursive functions
5. MATRICES
● Creating matrices
● Accessing elements of a Matrix
● Operations on Matrices
● Matrix transpose
6. STRINGS
● Creating strings
● paste() and paste0()
● Formatting numbers and string using format()
● String manipulation
7. LISTS
● Creating lists
● Manipulating list elements
● Merging lists
● Converting lists to vectors
8. ARRAYS IN R
● Creating arrays
● Accessing array elements
● Calculations across array elements
9. R FACTORS
● Understanding factors
● Modifying factors
● Factors in Data frames
10. DATA FRAMES IN R
● Creating data frame
● Operations on data frames
● Accessing data frames
● Creating data frames from various source
T1. Norman Matloff, The Art of R Programming: A Tour of Statistical Software
Design, No Starch Press, 2011
Text Books ● T2. Jared P. Lander, R for Everyone: Advanced Analytics and Graphics, Addison-
Wesley Data & Analytics Series, 2013
●
References R1. Mark Gardener, Beginning R – The Statistical Programming Language, Wiley,
2013
R2. Robert Knell, Introductory R: A Beginner's Guide to Data Visualization,
Statistical Analysis and Programming in R, Amazon Digital South Asia Services
Inc, 2013
After completion of this lab course, students will be able to:
CO1:Understand the basics in R programming in terms of constructs, control
Course statements, string functions
Outcomes CO2:Understand the use of R for Big Data analytics
CO3:Learn to apply R programming for Text processing
CO4:Able to appreciate and apply the R programming from a statistical perspective
Mapping of Course outcome with Program Outcomes, PSO’s, and Knowledge Levels (As per Blooms Taxonomy)
P P P P P P P P P Knowledge
CO/ PO PO PO PS PS PS
O O O O O O O O O Levels (K1, K2,
PO 10 11 12 O1 O2 O3
1 2 3 4 5 6 7 8 9 …, K6)
CO1 3 3 3 1 K1,K2
CO2 2 3 1 3 2 2 K1,K2
CO3 3 1 3 3 1 2 K1,K2
CO4 3 3 3 K1,K2,K3,K6
High-3 Medium-2 Low-1
K1 =>Remember K2 =>Understand K3 =>Apply K4 =>Analyze K5 =>Evaluate K6 =>Create
Designed By: Checked By: Approved By:
(Prof. Ati Jain) (Dr. Shweta Agrawal) (Dr. Manoj Ramaiya)