powered by
Extracts coefficients from a DMR object.
# S3 method for DMR coef(object, df = NULL, ...)
Vector or matrix of coefficients.
Fitted DMR object.
DMR
Number of parameters in the model for which coefficients are required. Default is the entire path of models.
Further arguments passed to or from other methods.
Similar to other coef methods, this function extracts coefficients from a fitted DMR object.
coef
data(miete) y <- miete[,1] X <- miete[,-1] m <- DMR(X, y) coef(m, df = 12)
Run the code above in your browser using DataLab