Professional Documents
Culture Documents
Lab Assaignment -1
Name:Gunda Laxmisai
Reg No:21MIS7119
Displaying and Sampling
Open Rstudio/Rconsole
Print all the rows having "hp" value less than 100
Print all the rows having "disp" value is between
100 and 200
Sorting
• Sort the observations of dataset "mtcars" in increasing
order based on the values in the column "mpg"
• Sort the observations of dataset "mtcars" in
decreasing order based on the values in the column
"cyl"