0 votes
in R Language by
What is the use of subset() and sample() function in R language?

1 Answer

0 votes
by

Subset() is used to select the variables and observations and sample() function is used to  generate  a random sample of the size n from a dataset.

Related questions

0 votes
asked Feb 25, 2020 in R Language by rahuljain1
0 votes
asked Feb 27, 2020 in R Language by rahuljain1
...