| coef | R Documentation |
coef extracts estimated model coefficients of class. coefficients is an alias for it.
## S4 method for signature 'MGLMfit' coef(object) ## S4 method for signature 'MGLMreg' coef(object) ## S4 method for signature 'MGLMsparsereg' coef(object) ## S4 method for signature 'MGLMtune' coef(object)
object |
an object for which the extraction of model coefficients is meaningful.
One of the following classes |
Method coef.
Coefficients extracted from the model object object.
For the class "MGLMtune", the function returns model coefficients
based on the optimal tuning parameter.
library("MGLM")
data("rnaseq")
data <- rnaseq[, 1:6]
mnreg <- MGLMreg(formula = cbind(X1, X2, X3, X4, X5, X6) ~ log(totalReads) +
treatment + age + gender, data = rnaseq, dist = "MN")
coef(mnreg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.