Vidyalelo
R Programming · Q30

Data Manipulation with dplyr

Programming · R Programming · question 30

Q30

In dplyr, what does the slice_sample() function do?

A.
Samples random rows from a data frame
Answer
B.
Extracts specific rows based on conditions
C.
Slices a data frame into smaller data frames
D.
Sorts the data frame in ascending order

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board