Displaying 1 result from an estimated 1 matches for "tfhp".
Did you mean:
ifhp
2004 Oct 20
2
apply function
Hi all,
I have a question about apply function. Is that possible to pass some
non-default arguments in the function we want to apply ?
For example:
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 ?
Thanks,
Eric
--
Eric