Description Usage Arguments Value
View source: R/lmTestContrast.R
assess a contrast for a given linear model as fit by lm
1 | lmTestContrast(fm, LT, s2_prior = 0, df_prior = 0)
|
fm |
|
s2_prior |
|
df_prior |
|
contrast |
|
a data.frame
containing the result for the comparison and the
following columns:
Contrast
- indicates the comparison between model coefficients.
log2FC
- the fold change estimated from the fit model.
percentControl
- the fold-change converted to a percent relative to
the control (positive) coefficient.
SE
- the standard error of the comparison computed as the square
root of the variance.
Tstatistic
- the t-statistic for the comparison, calculated using
equation (11) from Kuznetsova et al., 2017.
Pvalue
- the p-value for the comparison, calculated from the t-value
and degrees of freedom using the student's t-distribution, pt
.
DF
- the degrees of freedom for the comparison.
S2
- sigma squared – the estimated standard deviation of the errors
or residual standard deviation (sigma) squared – see also ?sigma
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.