[R] using ls() to find functions: a solution
Erin Hodgess
erinm.hodgess at gmail.com
Fri Dec 17 18:25:32 CET 2010
Hi again.
I figured out a solution to the using ls to find functions. Here it is:
> xy <- sapply(ls(), function(x)mode(get(x)))
> xy[xy=="function"]
bayes2s f ss
"function" "function" "function"
Nothing like posting to the list to speed up the solution process!
Thanks though,
Sincerely,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
More information about the R-help
mailing list