coef.DMR | R Documentation |
Extracts coefficients from a DMR object.
## S3 method for class 'DMR'
coef(object, df = NULL, ...)
object |
Fitted |
df |
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.
Vector or matrix of coefficients.
data(miete)
y <- miete[,1]
X <- miete[,-1]
m <- DMR(X, y)
coef(m, df = 12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.