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...


Explain how to create a function in arguments using apply() in r?



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

Post New Answer

More R Programming Interview Questions

How can you verify if a given object “X” is a matrix data object?

0 Answers  


What is a file in r?

1 Answers  


List the functions available in “dplyr” package?

1 Answers  


Why is library() function used in r?

1 Answers  


What do you know about the evaluate_model() function from “statisticalmodeling” package

1 Answers  


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

1 Answers  


What is Visualization in R?

1 Answers  


Which packages are used to store and restore R objects to and from a file in R language?

1 Answers  


Describe grep() in r string manipulation?

1 Answers  


What is power analysis ?

1 Answers  


Explain in brief preliminaries of C/C++?

1 Answers  


What is meant by hierarchical Clustering in R?

1 Answers  


Categories