61. Locator function gives output as . . . . . . . .
62. Numbers in R are generally treated as . . . . . . . . precision real numbers.
63. To extract a sublist, we use . . . . . . . . brackets.
64. Using the . . . . . . . . vector, we create a species factor and bind it to the columns of iris.df.
65. Which is the basic data structure of R containing the same type of data?
66. What will be the output of the following R code?
> m <- matrix(1:6, nrow = 2, ncol = 3)
> m
> m <- matrix(1:6, nrow = 2, ncol = 3)
> m
67. What will be the output of the following R code?
> x <- data.frame(foo = 1:4, bar = c(T, T, F, F))
> ncol(x)
> x <- data.frame(foo = 1:4, bar = c(T, T, F, F))
> ncol(x)
68. Which of the following is invalid assignment?
69. Which function takes a dim attribute which creates the required number of dimensions?
70. What will be the output of the following R code?
> x <- vector("list", length = 5)
> x
> x <- vector("list", length = 5)
> 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.