Capstone Project On R Studio
Capstone Project On R Studio
Capstone Project On R Studio
INSTITUTE OF MANAGEMENT
CA 17, 36th Cross, 26th Main, 4th “T” Block, Jayanagar, Bangalore-560041.
(Autonomous Institution Affiliated to BCU)
ADVANCED IT SKILLS
MASTER OF BUSINESS ADMINISTRATION
Semester II
Batch 2021-2023
3 Descriptive 7
6 Conclusion 12
7 Reference 13
Page no. 2
Chapter 1
Construct 10 Students’ Databases With The Help Of A Data Frame.
This Dataset Holds Information Related To The Registration Number;
Name Of The Student; Age; Gender; UGCGPA.
regno<-c(1,2,3,4,5,6,7,8,9,10)
Interpretation:
in R studio here we add the reg no. from 1 to 10. Here ‘c’ means contact.
nameofthestudent<-c('A','B','c','D','E','F','G','H','I','J')
Interpretation:
here we add the name of a student. While writing in R studio we can not give to the
space to any word like ‘nameofthestudent’. The names are A, B, C, D, E, F, G, H, I, J
age<-c(12,16,17,18,23,24,25,26,27,28)
Interpretation:
Here we add the age of the students in the students data set. As mentioned wise age of
the students will be add in the table.
gender<-c('M','M','F','F','M','M','M','F','F','M')
Interpretation:
here we add the gender of the student data set. Here ‘M’ means male and ‘F’ means
female. There are 6 male and 4 female.
ugcgpa<-c(9.6,8.1,7.4,8.4,8.0,8.2,6.7,9.1,6.9,8.2)
Page no. 3
Marks In 5 Different Subjects:
s1<-c(12,16,17,18,23,24,25,26,27,28)
s2<-c(12,16,17,18,23,24,25,26,27,28)
s3<-c(12,16,17,18,23,24,25,26,27,28)
s4<-c(12,16,17,18,23,24,25,26,27,28)
s5<-c(12,16,17,18,23,24,25,26,27,28)
Interpretation:
• here s1 means subject 1 and its marks
• here s2 means subject 2 and its marks
• here s3 means subject 3 and its marks
• here s4 means subject 4 and its marks
• here s5 means subject 5 and its marks
studentsdatabase<-data
frame(regno,nameofthestudent,age,gender,s1,s2,s3,s4,s5)
Interpretation:
This function is used to frame the data table according to our requirement. In this
table first we add reg no, name of the student, age, gender and subject 1 to subject
5 marks will be added here.
Page no. 4
Chapter 2
Add 5 columns to the existing data by passing first semester marks in each
of the five subjects.
s1<-c(13,16,17,18,23,24,25,26,27,29)
s2<-c(14,17,15,17,20,25,23,25,19,18)
s3<-c(25,25,26,27,29,12,16,17,18,22)
s4<-c(19,23,24,25,16,13,16,17,27,29)
s5<-c(17,15,14,17,26,28,19,20,21,29)
Interpretation:
here s1 means subject 1 and its marks
here s2 means subject 2 and its marks
here s3 means subject 3 and its marks
here s4 means subject 4 and its marks
here s5 means subject 5 and its marks
studentsdatabase<-data.frame(regno,nameofthestudent,age,gender,ugcgpa,s1,s2,s3,s4,s5)
Interpretation:
This function is used to frame the data table according to our requirement. In this table first we
add reg no, name of the student, age, gender and subject 1 to subject 5 marks will be added
here.
Page no. 5
Page no. 6
Chapter 3
DESCRIPTIVE
summary(studentsdatabase$age)
summary(studentsdatabase$ugcgpa)
summary(studentsdatabase$s1)
summary(studentsdatabase$s2)
summary(studentsdatabase$s3)
summary(studentsdatabase$s4)
summary(studentsdatabase$s5)
INTERPRETATION:
Here we calculated the min, mean, median, mode , max and quartiles for student data
base
Page no. 7
Chapter 4
a.) row11<-c(11,'k',22,'F',8.1,23,22,24,26,28)
newstudentdatabase<-rbind(studentsdatabase,row11)
Page no. 8
b.) ADD 12TH AND 13TH STUDENT DETAILS TOGETHER
newstudentdatabase
row12<-c(12,'l',27,'F',8.4,23,22,11,12,20)
row13<-c(13,'m',26,'F',7.1,28,27,22,24,25)
newstudentdatabase<-rbind(studentsdatabase,row12,row13)
Page no. 9
Chapter 5
a.) newstudentdatabase[c(7,10),]
newstudentdatabase[,c(1:2,5:10)]
Page no. 10
c.) EXTRACT THE INFORMATION OF UGCGOA >8
subset(newstudentdatabase,newstudentdatabase$ugcgpa>=8)
Page no. 11
Conclusion
calculations.
• It is widely used by data scientists and business leaders in multiple fields, from academics
to business.
• Moreover, R interprets the data in a graphical form, making it easy to interpret and
understand.
programming tool since it's useful for data importing and cleaning.
• It has special packages for Machine Learning, Statistical Modelling, Data Manipulation,
• As R is open-source, you can also build your own package and enrich the R community. It
• R is also used in genetics, biology, business intelligence, and other fields of study.
Page no. 12
References
Page no. 13