What is apply() function in r?
Answer / Vijay Agrawal
The apply() function in R applies a given function along one, two or three dimensions of an array (matrix, data frame, list etc.). The function can be specified as any valid R function. This function simplifies the task of applying the same function to multiple elements of an array.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a custom function which will replace all the missing values in a vector with the mean of values.
How R Commands are Written?
How would you fit a linear model over a scatter-plot?
Why is R important for data science?
Write a custom function in R?
What is Visualization in R?
What is a dataframe in r?
Mention how you can produce co-relations and covariances?
What is r’s c interface?
What is bootstrapping in r?
Differentiate between k-means clustering and hierarchical clustering?
Describe strsplit() in r string manipulation?