coefs | R Documentation |
Get coefs
coefs(featuredt, ...)
## S3 method for class 'factor'
coefs(featuredt, ...)
## S3 method for class 'data.table'
coefs(featuredt, fit = fits(featuredt), svars = NULL, ...)
featuredt |
data.table or factor |
... |
required for s3 dispatch |
fit |
string: 'limma', 'lm', 'lme', 'lmer' |
svars |
NULL or charactervector (svar for which to return coefs) |
character vector
# Factor
x <- factor(c('A', 'B', 'C'))
coefs(x)
coefs(code(x, contr.treatment.explicit))
coefs(code(x, code_control))
# SummarizedExperiment
file <- system.file('extdata/atkin.metabolon.xlsx', package = 'autonomics')
object <- read_metabolon(file, fit = 'limma')
coefs(fdt(object))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.