Skip to content

Commit 588fce3

Browse files
committed
fix docs
1 parent e8f539a commit 588fce3

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

R/estimate_means.R

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@
276276
#' For finite mixture models (currently, only the [`brms::mixture()`] family
277277
#' from package *brms* is supported), use `predict = "link"` to return predicted
278278
#' values stratified by class membership. To predict the class membership, use
279-
#' [`estimate_link()`].
279+
#' `predict = "classification"`. See also
280+
#' [this vignette](https://easystats.github.io/modelbased/articles/practical_growthmixture.html).
280281
#'
281282
#' @section Equivalence tests (smallest effect size of interest):
282283
#'
@@ -285,7 +286,7 @@
285286
#' two, defining the lower and upper bounds of the region of equivalence (ROPE).
286287
#' The output then includes an additional column `p_Equivalence`. A high p-value
287288
#' (non-significant result) means we reject the assumption of practical
288-
#' equivalence (i.e., a minimal important difference can be assumed, or that
289+
#' equivalence (and that a minimal important difference can be assumed, or that
289290
#' the estimate of the predicted value, slope or contrast is likely outside the
290291
#' ROPE).
291292
#'
@@ -356,6 +357,10 @@
356357
#' by = list(Sepal.Width = c(2, 4), Species = c("versicolor", "setosa"))
357358
#' )
358359
#'
360+
#' # equivalence test: the null-hypothesis is that the estimate is outside
361+
#' # the equivalence bounds [-4.5, 4.5]
362+
#' estimate_means(model, by = "Species", equivalence = c(-4.5, 4.5))
363+
#'
359364
#' # Methods that can be applied to it:
360365
#' means <- estimate_means(model, by = c("Species", "Sepal.Width = 0"))
361366
#'

man/estimate_means.Rd

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

0 commit comments

Comments
 (0)