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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.