Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the use of sample and subset functions in R programming language?



What is the use of sample and subset functions in R programming language?..

Answer / Anshumaan Mishra

The "sample()" function generates a random sample from a dataset, while the "subset()" function selects a subset of data based on specified conditions. Both functions are useful for data preprocessing, analysis, and modeling.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

What is an arbitrary function in r?

1 Answers  


What is oop in r?

1 Answers  


What does the term 'dreaded for loop' means?

1 Answers  


How to create vectors in r?

1 Answers  


How can you load a .csv file in r?

1 Answers  


How can you create a pca model in r?

1 Answers  


Differentiate between k-means clustering and hierarchical clustering?

1 Answers  


What is TCP/IP in R?

1 Answers  


Explain DBSCAN algorithm in R?

1 Answers  


How will you convert a factor variable to numeric in r language?

0 Answers  


What is a random forest? How do you build and evaluate a random forest in r?

1 Answers  


How would you find the number of missing values in a dataset and remove all of them?

1 Answers  


Categories