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 subset() function and sample() function in R ?



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

Answer / Surya Prakash

subset() is used to select a subset of rows or columns from a data frame based on specific conditions. sample() generates a random sample from a vector, matrix, or list.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

How R Commands are Written?

1 Answers  


How would you create a factor in r?

1 Answers  


What is the distribution in R?

1 Answers  


How to create axes in the graph?

1 Answers  


What does not ‘r’ language do?

1 Answers  


What is a class in r?

1 Answers  


What is scan() in r?

1 Answers  


How will you list all the datasets available in all R packages?

1 Answers  


Compare r and python?

1 Answers  


What is a graphic device?

1 Answers  


Explain how R programming applied to the real world?

1 Answers  


Which data object in r is used to store and process categorical data?

1 Answers  


Categories