What is the use of subset() function and sample() function in R ?

Answer

In R, subset() functions help you to select variables and observations while through sample() function you can choose a random sample of size n from a dataset.

All r Questions

Ask your interview questions on r

Write Your comment or Questions if you want the answers on r from r Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---