[R] how to use apply with a function created by ourselfs...?

ana kozomara magnolia at absolutok.net
Sun Apr 20 21:01:47 CEST 2003


Hi.
I'm a real newbie in R, so
I don't know how to apply, a function created by myself...

prediction<-function(a,b)
{
..
}

to a vector...
It doesn't seem to understand
lapply(vector, prediction())...
Anyone can help me?
Thanks in advance,
ana



More information about the R-help mailing list