Top "Apply" questions

A function to call another function with a list of arguments.

apply a function over groups of columns

How can I use apply or a related function to create a new data frame that contains the results of …

r dataframe multiple-columns apply
Sum every nth points

I have a vector and I need to sum every n numbers and return the results. This is the way …

r sum apply
Scala case class private constructor but public apply method

If I have the following case class with a private constructor and I can not access the apply-method in the …

scala apply case-class private-constructor
Is R's apply family more than syntactic sugar?

...regarding execution time and / or memory. If this is not true, prove it with a code snippet. Note that speedup …

r apply
When should I (not) want to use pandas apply() in my code?

I have seen many answers posted to questions on Stack Overflow involving the use of the Pandas method apply. I …

python pandas performance apply
AngularJS ng-repeat with data from service

Originally in my app, I created controllers with very basic $http calls to get a resource by getting the ID …

service angularjs apply resolve ng-repeat
Applying a function to two lists?

To find the row-wise correlation of two matrices X and Y, the output should have a correlation value for row 1 …

r parameter-passing apply mapply
how to access global/outer scope variable from R apply function?

I can't seem to make apply function access/modify a variable that is declared outside... what gives? x = data.frame(…

r scope apply
Python vs. R: apply a function to each element in a vector

I want to apply a function (len) over each element in a vector. In R I can easily do this …

python apply
R: apply a function to every element of two variables respectively

I have a function with two variables x and y: fun1 <- function(x,y) { z <- x+…

r apply mapply multiple-arguments