Skip to content
Prev 320363 / 398506 Next

when to use which apply function?

Hello,

The correct syntax would be


sapply(1:10, function(i) newfun(x=mat[i, 1], y=mat[i, 2], a=a, b=b))


Hope this helps,

Rui Barradas

Em 26-03-2013 21:51, C W escreveu: