[R] apply function
eric.pellegrini at chemie.uni-erlangen.de
Wed Oct 20 18:54:29 CEST 2004
I have a question about apply function. Is that possible to pass some
non-default arguments in the function we want to apply ?
if "mat" is a matrix and I want to use the "tabulate" function on its row.
The command apply(mat,1,tabulate) works but I have problem with this one
apply(mat, 1, tabulate(nbins=4)).
Any clue ?
Eric Pellegrini, PhD
University of Erlangen-NÃ¼rnberg
More information about the R-help