NEW
Font size
WorksheetsBasics of R Programming-II
Total questions: 10
Worksheet time: 5mins
_________code is used for box and whisker plot in R.
scatter.smooth()
boxplot()
plot()
abline()
_________code is used for scatter plot in R.
scatter.plain()
scatter()
plot()
None of these
We wish to calculate the correlation between two columns of a dataset. Which of the below codes will achieve the purpose?
cor(A, B)
corr(A, B)
coreA, B)
correlation(A, B)
_________code is used to run linear regression model in R.
linear.model()
sum()
lm()
None of the above
Which of the following graph can be used for simple summarization of data?
Scatterplot
Barplot
Overlaying
None of these
What will be the output of the following R code?
x <- c(3, 7, NA, 4, 7)
y <- c(5, NA, 1, 2, 2)
x + y
Symbol
Missing data
5
15.5
In R studio, Scripts will run on ___________________
Script editors
Console
Terminal
GCC compiler
__________code can be used to plot the correlation matrix in the form of correlogram
corplot()
correlationplot()
corrplot()
coreplot()
___________shortcut used to clear the console.
Ctrl + K
Ctrl + L
Ctrl + C
Ctrl + V
________command is used to exit R programming?
quit()
qu()
exit
None of these
