Correct Answer: Head(pizza, 5)
Explanation:
Note: This Question is unanswered, help us to find answer for this one
R Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More R MCQ Questions
You accidentally display a large data frame on the R console, losing all the statements you entered during the current session. What is the best way to get the prior 25 statements back?
What is mydf$y in this code? mydf <- data.frame(x=1:3, y=c("a","b","c"), stringAsFactors=FALSE)
How does a vector differ from a list?
What statement shows the objects on your workspace?
What function joins two or more column vectors to form a data frame?
Which R function adds a line with slope 1 and intercept 0 into an existing plot of Y versus X?
What's the output for command: seq(from = 1, to = 5, by = 3)
What is the output of the following R code? x<-2; y <- c(1:3); paste("The value of x is", x, "and the value of y[x] is", y[x], sep=" ")
In the plot( ) function, what option is used to specify that the x-axis displays values from 0 to 1?
What does the option 'cex' do in the following R function? text(0, 1, "Hello", cex=2)
R MCQs | Topic-wise