Skip to content

Commit

Permalink
Updated based on review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gowerc committed Mar 22, 2024
1 parent 3e88c59 commit a165576
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
10 changes: 5 additions & 5 deletions R/lsmeans.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#' ```
#' emmeans::emmeans(model, specs = "<treatment>", counterfactual = "<treatment>")
#' ```
#' Note that `weights = "proportional"` is an alias for `weights = "counterfactual"`.
#' Whilst potentially confusing, this has been done to ensure backwards compatibility
#' with prior versions of `rbmi`. To get results
#' consistent with `emmeans`'s `weights = "proportional"` please use `weights = "proportional_em"`.
#' Note that to ensure backwards compatibility with previous versions of rbmi
#' `weights = "proportional"` is an alias for `weights = "counterfactual"`.
#' To get results consistent with `emmeans`'s `weights = "proportional"`
#' please use `weights = "proportional_em"`.
#'
#' ### Equal
#'
Expand All @@ -32,7 +32,7 @@
#' - Dummy categorical variables are set to `1/N` where `N` is the number of levels
#' - Continuous * continuous interactions are set to `mean(X) * mean(Y)`
#' - Continuous * categorical interactions are set to `mean(X) * 1/N`
#' - Dummary categorical * categorical interaction variables are set to `1/N * 1/M`
#' - Dummy categorical * categorical interactions are set to `1/N * 1/M`
#'
#' In comparison to `emmeans` this approach is equivalent to:
#' ```
Expand Down
10 changes: 5 additions & 5 deletions man/ancova.Rd

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

10 changes: 5 additions & 5 deletions man/ancova_single.Rd

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

10 changes: 5 additions & 5 deletions man/lsmeans.Rd

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

0 comments on commit a165576

Please sign in to comment.