coefs | R Documentation |
Get coefs
coefs(object, ...)
## S3 method for class 'factor'
coefs(object, ...)
## S3 method for class 'data.table'
coefs(object, fit = fits(object), svars = NULL, ...)
## S3 method for class 'SummarizedExperiment'
coefs(object, fit = fits(object), ...)
object |
factor, data.table, SummarizedExperiment |
... |
required for s3 dispatch |
fit |
'limma', 'lm', 'lme', 'lmer', 'wilcoxon' |
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(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.