Vidyalelo
R Programming · all questions

R Programming Basics
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

131

Questions

7/7

Page

Pick an option on a question to see the right answer and solution.

Point out the wrong statement?

Select an option to see the answer and solution.

If you explicitly want an integer, you need to specify the . . . . . . . . suffix.

Select an option to see the answer and solution.

The first component can be accessed using . . . . . . . . operator.

Select an option to see the answer and solution.

What will be the output of the following R code?
> x <- vector("numeric", length = 10)
> x

Select an option to see the answer and solution.

What will be the output of the following R code?
> x <- 0:6
> as.logical(x)

Select an option to see the answer and solution.

Point out the correct statement?

Select an option to see the answer and solution.

Which of the following can be considered as object attribute?

Select an option to see the answer and solution.

The . . . . . . . . stores the nominal values as a vector of integers in the range of 1 to unique values in the nominal variable.

Select an option to see the answer and solution.

The . . . . . . . . function creates a regular sequence of values to form a vector.

Select an option to see the answer and solution.

Point out the correct statement?

Select an option to see the answer and solution.

Which of the following is invalid assignment?

Select an option to see the answer and solution.