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 |
How do I sort in descending order in r?
What is vectorization in r?
How many tools for debugging present in r?
Why the cv.im()?
What is iPlots?
What is the need for Predictive Analysis in R?
How can you load and use csv file in R?
What do you know about the rattle package in r?
What do you know about the evaluate_model() function from “statisticalmodeling” package
How do you build and evaluate a random forest in r?
What are functions of Random forest in R?
How many methods are available to use the matrices?