R PROGRAMMING LAB

Paper Code: 
MCA 422A
Credits: 
02
Periods/week: 
04
Max. Marks: 
100.00
Objective: 

This course enables the students to

  1. Implement programming concepts in  R language
  2. Experiment various functionalities through R programming.
  3. Identify solution of given problem
  4. Apply packages in solving problems.
  5. Evaluate & choose efficient solution
  6. Construct small application using R

 

Course Outcomes(COs):

 

Learning Outcome (at course level)

 

Learning and teaching strategies

Assessment Strategies

 
 

CO238.        Understand and apply various programming concepts in R language

CO239.        Implement various functions using R

CO240.        Analyze the problem and find right solution

CO241.        Implement packages to design and program testing.

CO242.        Understand data and file management using R.

CO243.        Develop and analyze applications using R

Approach in teaching:

Interactive Lab Sessions,

Modeling, Discussions, implementing enquiry based learning, student centered approach

 

Learning activities for the students:

Experiential Learning, Discussions, Lab Assignments, Learning through Real life data centric problems

·  Lab Assignments

·  Practical Record

·  Continues Assessment

·  Semester End Examination

 

 

 

Contents

 

Fundamentals

·   About R tutorial

·   Introduction to R

·   About R, Do & Don't

·   Why R programming Language

 

Overview

·   General Properties

·   First Program - Hello World

·   Core Characteristics

 

Data Types

·   Data types introduction

·   Data types Examples

·   Variable in R Language

·   Introduction to Variable

 

Operators

·   Operator Introduction

·   Arithmetic Operators

·   Relational Operators

·   Logical Operators

·   Assignment Operators

·   Miscellaneous Operators

 

Decision Making

·   Decision Making Introduction

·   if statement

·   if...else statement

·   switch statement

·   if…else Ladder

·   ifelse() function

 

Loop control

·   Loop Introduction

·   for loop

·   while Loop

·   repeat Loop

·   Break Statement

·   Next Statement

Array

·   Array Introduction

·   String

·   String Introduction

Function

·   Function Introduction

·   Your First Function

·   Built-in Function

Vector

·   Vector Introduction

·   Lists

·   List Introduction

Matrices

·   Matrix Introduction

·   Matrix Construction

·   Addition & Subtraction

·   Multiplication & Division

Factors

·   Factor Introduction

Data Frames

·   Data Frame Introduction

·   Data Frame details

·   Filtering and subsetting data

·   Aggregate function

Packages

·   Package Introduction

Data Reshaping

Data Reshaping Introduction

Data and File Management

·   Types of Input

·   CSV Files

·   Excel file

·   Reading and writing data

Charts & Graphs

·   Graphical Procedures Introduction

·   plot function

·   Plot using base graphics

·   Plot using ggplot2

Data Analytics

Design and write efficient programs using R to perform routine and specialized data manipulation and analysis tasks using

·       Packages

·       Data Reshaping

·       Charts & Graphs

 

ESSENTIAL READINGS: 

REFERENCES: 

Academic Year: