Skip to content

Commit

Permalink
Fix missing tags in documentation (#46)
Browse files Browse the repository at this point in the history
* Fix missing tags in documentation
  • Loading branch information
cedricbatailler authored Feb 26, 2024
1 parent e8ec01d commit eed1902
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions R/compute_indirect_effect_for.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
#' coefficients in a linear regression, \eqn{a \times b}{a * b} is now the
#' indirect effect we wanted to compute (see the Models section).
#'
#' Thanks to the returned values of \eqn{a}{a} and {b}{b} (\eqn{b_51}{b_51}
#' and \eqn{b_64}{b_64}, see the Models section), it is now easy to compute
#' \eqn{a \times b}{a * b}. `compute_indirect_effect_for` uses the same
#' approach than the [`add_index`] function. A Monte Carlo simulation is used
#' to compute the indirect effect index (MacKinnon et al., 2004).
#' Thanks to the returned values of \eqn{a}{a} and \eqn{b}{b}
#' (\eqn{b_51}{b_51} and \eqn{b_64}{b_64}, see the Models section), it is now
#' easy to compute \eqn{a \times b}{a * b}. `compute_indirect_effect_for` uses
#' the same approach than the [`add_index`] function. A Monte Carlo simulation
#' is used to compute the indirect effect index (MacKinnon et al., 2004).
#'
#' @section Models: In a moderated mediation model, three models are used.
#' `compute_indirect_effect_for` uses the same model specification as
Expand Down
2 changes: 1 addition & 1 deletion R/mdt_simple.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#'
#' with \eqn{c} the total effect of \eqn{X} on \eqn{Y}, \eqn{c'} the direct of
#' \eqn{X} on \eqn{Y}, and \eqn{ab} the indirect effect of \eqn{X} on \eqn{Y}
#' through {M} (see Models section).
#' through \eqn{M} (see Models section).
#'
#' To assess whether the indirect effect is different from the null, one has
#' to assess the significance against the null for both \eqn{a} (the effect of
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/within_details.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#'
#' with \eqn{c} the total effect of \eqn{X} on \eqn{Y}, \eqn{c'} the direct of
#' \eqn{X} on \eqn{Y}, and \eqn{ab} the indirect effect of \eqn{X} on \eqn{Y}
#' through {M} (see Models section).
#' through \eqn{M} (see Models section).
#'
#' To assess whether the indirect effect is different from the null, one has
#' to assess the significance against the null for both \eqn{a} (the effect of
Expand Down
10 changes: 5 additions & 5 deletions man/compute_indirect_effect_for.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mdt_simple.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mdt_within.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mdt_within_wide.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eed1902

Please sign in to comment.