What is apply() function in r?



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

Post New Answer

More R Programming Interview Questions

What is transpose?

1 Answers  


What do you understand by element recycling in r?

1 Answers  


What is recursion in r?

1 Answers  


What are connections In R?

1 Answers  


how to import data into R?

1 Answers  


What are tools for debugging in r?

1 Answers  


How can you merge two data frames in R language?

1 Answers  


What is bootstrapping in r?

1 Answers  


Explain how to manipulate list elements in r?

1 Answers  


What is the difference between rnorm and runif functions ?

1 Answers  


Give an example of 'dreaded for loop'?

1 Answers  


How can you simulate noise model using r?

1 Answers  


Categories