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

About this list Date view Thread view Subject view Author view Attachment view

From: ana kozomara (magnolia@absolutok.net)
Date: Mon 21 Apr 2003 - 05:01:47 EST


Message-id: <001cd4701191443SILJA@silja.absolutok.com>

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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:42 EST