Explain how to create a function in arguments using apply() in r?
Answer / Jyoti Rawat
apply(data, margin, my_function) - where data is the matrix or array you're working on, margin specifies which dimension to iterate over (1 for rows, 2 for columns), and my_function is your custom function.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you verify if a given object “X” is a matrix data object?
What is a file in r?
List the functions available in “dplyr” package?
Why is library() function used in r?
What do you know about the evaluate_model() function from “statisticalmodeling” package
How would you check the distribution of a categorical variable in r?
What is Visualization in R?
Which packages are used to store and restore R objects to and from a file in R language?
Describe grep() in r string manipulation?
What is power analysis ?
Explain in brief preliminaries of C/C++?
What is meant by hierarchical Clustering in R?