Correct Answer : Sample()
Explanation : Sample() function can be used to select a random sample of size ‘n’ from the huge dataset. R has a large number of in-built functions and also the user can create their own functions.