coef.PLR {LorenzRegression} | R Documentation |
Estimated coefficients for the penalized Lorenz regression
Description
Provides the estimated coefficients for an object of class "PLR"
.
Usage
## S3 method for class 'PLR'
coef(object, renormalize = TRUE, pars.idx = "BIC", ...)
Arguments
object |
An object of S3 class |
renormalize |
A logical value determining whether the coefficient vector should be re-normalized to match the representation where the first category of each categorical variable is omitted. Default value is TRUE |
pars.idx |
What grid and penalty parameters should be used for parameter selection. Either a character string specifying the selection method, where the possible values are:
Or a numeric vector of length 2, where the first element is the index of the grid parameter and the second is the index of the penalty parameter. |
... |
Additional arguments |
Value
a vector gathering the estimated coefficients.
See Also
Examples
## For examples see example(Lorenz.Reg), example(Lorenz.boot) and example(PLR.CV)