
Last chance! 50% off unlimited learning
Sale ends in
how
is defined as a generic with currently only one non-default method, for objects of class HLfit
. This method provide information about how such a fit was obtained.
how(object, ...)
# S3 method for HLfit
how(object, devel=FALSE, verbose=TRUE, format=print, ...)
# S3 method for HLfitlist
how(object, devel=FALSE, verbose=TRUE, format=print, ...)
A list, returned invisibly, whose elements are not further described here, some being slightly cryptic or subject to future changes However, how(.)$fit_time
is a clean way of getting the fit time. If verbose
is TRUE
, the function prints a message presenting some of these elements.
Any R object.
Boolean; Whether to provide additional cryptic information. For development purposes, not further documented.
Boolean; Whether to print information about the input object.
wrapper for printing format. E.g., cat(crayon::yellow(s),"\n")
could be used instead of the default.
Other arguments that may be needed by some method.
foo <- HLfit(y~x, data=data.frame(x=runif(3), y=runif(3)), method="ML", ranFix=list(phi=1))
how(foo)
Run the code above in your browser using DataLab