Hi all,

I'm currently working on the fitdistrplus package (that basically fit  
distributions). There is something I do not understand about the  
generic function summary.

In the current version on CRAN, there is no NAMESPACE saying

S3method(summary, fitdist)

.
However if we use summary on an object send by fitdist function it  
works fine...

According to R-lang, we have
"
The most common use of generic functions is to provide print and  
summary methods for
statistical ob jects, generally the output of some model fitting  
process. To do this, each model
attaches a class attribute to its output and then provides a special  
method that takes that output
and provides a nice readable version of it. The user then needs only  
remember that print or
summary will provide nice output for the results of any analysis.
"

I would like to be sure, that if the summary.fitdist is not exported  
in the NAMESPACE, then we must use declare it with S3method.

Thanks in advance

Christophe

--
Christophe Dutang
Ph.D. student at ISFA, Lyon, France
website: http://dutangc.free.fr


        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to