deviance.GeDS | R Documentation |
Method for the function deviance
that allows the user to
extract the value of the deviance corresponding to a selected GeDS, GeDSboost
or GeDSgam fit typically returned by NGeDS
/GGeDS
,
NGeDSgam
or NGeDSboost
.
## S3 method for class 'GeDS'
deviance(object, n = 3L, ...)
## S3 method for class 'GeDSgam'
deviance(object, n = 3L, ...)
## S3 method for class 'GeDSboost'
deviance(object, n = 3L, ...)
object |
The |
n |
Integer value (2, 3 or 4) specifying the order ( |
... |
Potentially further arguments (required by the definition of the generic function). These will be ignored, but with a warning. |
This is a method for the function deviance
in the
stats package. As "GeDS"
, "GeDSgam"
and "GeDSboost"
class objects contain three different fits (linear, quadratic and cubic), it
is possible to specify the order of the GeDS fit for which the deviance is
required via the input argument n
.
A numeric value corresponding to the deviance of the selected
"GeDS"
, "GeDSgam"
or "GeDSboost"
fit.
deviance
for the standard definition;
NGeDS
, GGeDS
, NGeDSgam
,
NGeDSboost
for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.