fit_contrasts.default | R Documentation |
This function calculates contrasts for a fitted linear model.
## Default S3 method:
fit_contrasts(object, conmat, colind, se = TRUE, ...)
object |
The fitted linear model object. |
conmat |
The contrast matrix or contrast vector. |
colind |
The subset column indices in the design associated with the contrast. |
se |
Whether to compute standard errors, t-statistics, and p-values (default: TRUE). |
... |
Additional arguments (unused) |
A list containing the following elements:
conmat
: Contrast matrix.
sigma
: Residual standard error.
df.residual
: Degrees of freedom for residuals.
estimate
: Estimated contrasts.
se
: Standard errors of the contrasts (if se = TRUE
).
stat
: t-statistics for the contrasts (if se = TRUE
).
prob
: Probabilities associated with the t-statistics (if se = TRUE
).
stat_type
: Type of the statistics calculated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.