Skip to content
Prev 299897 / 398503 Next

apply() to a function that has more than 2 arguments

On 12/07/2012 07:10, Dimitris.Kapetanakis wrote:
The arguments of apply are

 > args(apply)
function (X, MARGIN, FUN, ...)

so you actually called apply(X=x, MARGIN=Matr, FUN=1, Y=y, B=b, P=p)