[R] help with objects
andrest
andresti at hot.ee
Mon Aug 11 22:18:43 CEST 2008
Hi,
just started using R and I have the following question.
I have a sample code which is structured as
Object: histcv1() #apparently not part of the code, but still meaningful
somehow
function(x, e, w, n, y, br)
{
#some functions and commands
#...
return(value)
}
And then an example of using it:
function()
{
#some code
#...
fit.his <- histcv1(xx, ex, bandw, ntrial, ydata, br)
#more code
#...
}
And then question is - how do I actually get it to execute? I have to define
the first bit to be "histcv1" somehow but I have no idea of how to do it.
Thanks,
A.
--
View this message in context: http://www.nabble.com/help-with-objects-tp18932953p18932953.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list