Re: [Rd] Clarification on generic functions and methods

2009-11-11 Thread Doran, Harold
:58 PM > To: r-de...@stat.math.ethz.ch > Subject: Re: [Rd] Clarification on generic functions and methods > > Doran, Harold air.org> writes: > > > > Thank you, Henrik. This actually doesn't work when I build the > > package, > which may only require a slight > > mo

Re: [Rd] Clarification on generic functions and methods

2009-11-11 Thread Ken Knoblauch
Doran, Harold air.org> writes: > > Thank you, Henrik. This actually doesn't work when I build the package, which may only require a slight > modification to what I'm doing now. First, I create a NAMESPACE as: > > ### NAMESPACE FILE CONTENTS > export(jml2) > S3method(jml2, fit) > S3method(jml2,

Re: [Rd] Clarification on generic functions and methods

2009-11-11 Thread Doran, Harold
rstand how this might be resolved? Harold > -Original Message- > From: henrik.bengts...@gmail.com > [mailto:henrik.bengts...@gmail.com] On Behalf Of Henrik Bengtsson > Sent: Wednesday, November 11, 2009 10:44 AM > To: Doran, Harold > Cc: r-de...@stat.math.ethz.ch > Subject: Re: [Rd

Re: [Rd] Clarification on generic functions and methods

2009-11-11 Thread Henrik Bengtsson
Using jml <- function(...) UseMethod("jml") will do. /Henrik On Wed, Nov 11, 2009 at 4:26 PM, Doran, Harold wrote: > I have constructed the following functions and need a little clarification: > > ### function to fit the model parameters > jml.fit <- function(dat, con = 1e-3, bias=FALSE, ...)