Slip 1
Write an R program to find the maximum
and the minimum value of a given vector.
Slip2
Write an R program to sort a Vector in
ascending and descending order.
Slip
3
Slip4
Slip
5
Write an R program to find Sum, Mean and Product of a Vector.
Slip6
Write an R program to create a simple bar plot of five subject’s marks.
Slip7
Slip8
Slip9
Write an R program to change the first level of a factor with anotherlevel of a given factor.
Write a script in R to create a list of cities and perform the following
1) Give names to the elements in the list.
2) Add an element at the end of the list.
Slip11
Slip12
Write an R Program to calculate Multiplication Table
Slip13
Consider the inbuilt iris dataset
i) Create a variable “y” and attach to it the output attribute of the
“iris” dataset.
ii) Create a barplot to breakdown your output attribute.
iii) Create a density plot matrix for each attribute by class value.
Slip14
Slip15
Slip16
Consider
the inbuilt mtcar dataset
i) Subset the vector, “mtcars[,1]“, for values greater than “15.0“.
ii) Subset “airquality” for “Ozone” greater than “28“, or “Temp” greater
than “70“.
iii) Subset “airquality” for “Ozone” greater than “100“. Select the
columns “Ozone“,
“Temp“, “Month” and “Day” only.
Slip17
Write an R Program to calculate Decimal into binary of a given number.
Slip18
Slip19
Write an R program to draw an empty plot and an empty plot specify the
axes limits of the graphic.
Slip20
Consider Weather dataset
i) Selecting using the column number
ii) Selecting using the column name
iii) Make a scatter plot to compare Wind speed and temperature
Slip21
Consider the plantGrowth inbuilt dataset
i) Create a variable “y” and attach to it the output attribute of the
“plantGrowth” dataset.
ii) Create a barplot to breakdown your output attribute.
iii) Create a density plot matrix for each attribute by class value.
Slip22
Write an R program to print the numbers from 1 to 100 and print
"SY" for multiples of 3, print "BBA" for
multiples of 5, and print "SYBBA" for multiples of both.
Slip23
Slip24
Slip25
Slip26
Slip27
Write an R Program to calculate binary into Decimal of a given number.
Slip28
Write an R program to convert a given matrix to a list and print list inascending order.
Write a script in R to create a list of students and perform the
following
1) Give names to the students in the list.
2) Add a student at the end of the list.
4) Update the second last student.
Slip
30
Write an R program to sort a list of 10 strings in ascending anddescending order.