31. Decimal values are referred as . . . . . . . . data types in R.
32. The . . . . . . . . function can be used to create vectors of objects by concatenating things together.
33. An ordered factor is used to represent an . . . . . . . .
34. What will be the output of the following R code?
x <- c("a", "b", "c")
> as.numeric(x)
x <- c("a", "b", "c")
> as.numeric(x)
35. What will be the output of the following R code?
> m <- 1:10
> m
> m <- 1:10
> m
36. What should we use to access elements with a value greater than five?
37. Lists can be coerced with which function?
38. Which dimension corresponds to the explanatory variables collected for each species?
39. What will be the output of the following R code?
> m <- matrix(nrow = 2, ncol = 3)
> dim(m)
> m <- matrix(nrow = 2, ncol = 3)
> dim(m)
40. What will be the output of the following R code?
> x <- factor(c("yes", "yes", "no", "yes", "no"))
> table(x)
> x <- factor(c("yes", "yes", "no", "yes", "no"))
> table(x)
Read More Section(R Programming Basics)
Each Section contains maximum 100 MCQs question on R Programming Basics. To get more questions visit other sections.