Skip to content

Commit 85da373

Browse files
committed
docs
1 parent 6b5ef97 commit 85da373

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

R/estimate_contrasts.R

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,16 @@
113113
#' - `comparison = "trt_vs_ctrl"`: This compares all levels (excluding the
114114
#' first, which is typically the control) against the first level. It's often
115115
#' used when comparing multiple treatment groups to a single control group.
116+
#' - `comparison = "slope"`: This calculates contrasts between average slopes.
117+
#' An interesting use-case is the calculation of "context" effects when
118+
#' modelling within- and between-effects. An example for within- and between
119+
#' effects is described [in this vignette](https://easystats.github.io/parameters/articles/demean.html).
120+
#' A context effect describes the additional influence that the social or
121+
#' regional environment (e.g., place of residence) has on an individual,
122+
#' independent of their personal characteristics. It demonstrates that people
123+
#' with identical individual circumstances (such as the same income) face
124+
#' different opportunities or risks depending on the environment in which they
125+
#' live.
116126
#' - To test multiple hypotheses jointly (usually used for factorial designs),
117127
#' `comparison` can also be `"joint"`. In this case, use the `test` argument
118128
#' to specify which test should be conducted: `"F"` (default) or `"Chi2"`.

man/estimate_contrasts.Rd

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)