Logo

R Questions Set 32:

Quiz Mode

What will be the output of the following R code?

x <- 1 print(x)

1
2
3
4

Solution:

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

1
2
3
4

Solution:

Which command is used to reorder rows of a data frame in R?

1
2
3
4

Solution:

______ compute proportions from a contingency table

1
2
3
4

Solution:

Which command is used to view all packages installed?

1
2
3
4

Solution:

Tick the invalid option

1
2
3
4

Solution:

____ is the preferred method for evaluation from the list of alternatives.

1
2
3
4

Solution:

Which of the following gives the length and height of the current figure in inches?

1
2
3
4

Solution:

Which of the following statements applies the function (FUN) to either rows (1) or columns (2) of object X?

1
2
3
4

Solution: