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

What does tcp/ip work?

1 Answers  


Explain the concept of principal component analysis?

1 Answers  


How would you check the distribution of a categorical variable in r?

1 Answers  


Explain What is R?

1 Answers  


What data Visualizations in R you should learn?

1 Answers  


What is the function in r?

1 Answers  


How do you check if “m” is a matrix data object in R?

1 Answers  


How to request an input from the user through keyboard and monitor?

1 Answers  


How would you facet the data using ggplot2 package?

1 Answers  


Vector v is c(1,2,3,4) and list x is list(5:8), what is the output of v*x[[1]]?

1 Answers  


Describe nchar() in r string manipulation?

1 Answers  


What do you understand by element recycling in r?

1 Answers  


Categories