Extracts coefficients from a cv.DMR object (for the model with minimal cross-validated error /the default/ or the smallest model falling under the upper curve of a prediction error plus one standard deviation).
Usage
# S3 method for cv.DMR
coef(object, md = "df.min", ...)
Value
Vector of coefficients.
Arguments
object
Fitted cv.DMR object.
md
Value of the model dimension parameter at which predictions are required. The default is md="df.min" value indicating the model minimizing the cross validation error. Alternatively, md="df.1se" can be used, indicating the smallest model falling under the upper curve of a prediction error plus one standard deviation.
...
Further arguments passed to or from other methods.
Details
Similar to other coef methods, this function extracts coefficients from a fitted cv.DMR object.