Skip to content

Commit

Permalink
More linking in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Jul 29, 2024
1 parent 6940fbe commit e607950
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 33 deletions.
2 changes: 1 addition & 1 deletion R/centrality-description.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' grouping variable in `x` by a set of indices (e.g., measures of centrality,
#' dispersion, range, skewness, kurtosis, etc.). It additionally returns an
#' expression containing a specified centrality measure. The function internally
#' relies on `datawizard::describe_distribution()` function.
#' relies on [`datawizard::describe_distribution()`] function.
#'
#' @description
#' Parametric, non-parametric, robust, and Bayesian measures of centrality.
Expand Down
10 changes: 6 additions & 4 deletions R/contingency-table.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@
#' represents a single observation.
#' @param paired Logical indicating whether data came from a within-subjects or
#' repeated measures design study (Default: `FALSE`).
#' @param sampling.plan Character describing the sampling plan. Possible options
#' are `"indepMulti"` (independent multinomial; default), `"poisson"`,
#' `"jointMulti"` (joint multinomial), `"hypergeom"` (hypergeometric). For
#' more, see `?BayesFactor::contingencyTableBF()`.
#' @param sampling.plan Character describing the sampling plan. Possible options:
#' - `"indepMulti"` (independent multinomial; default)
#' - `"poisson"`
#' - `"jointMulti"` (joint multinomial)
#' - `"hypergeom"` (hypergeometric).
#' For more, see [`BayesFactor::contingencyTableBF()`].
#' @param fixed.margin For the independent multinomial sampling plan, which
#' margin is fixed (`"rows"` or `"cols"`). Defaults to `"rows"`.
#' @param prior.concentration Specifies the prior concentration parameter, set
Expand Down
2 changes: 1 addition & 1 deletion R/helpers-easystats.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ tidy_model_parameters <- function(model, ...) {


#' @name tidy_model_effectsize
#' @title Convert `effectsize` package output to `tidyverse` conventions
#' @title Convert `{effectsize}` package output to `{tidyverse}` conventions
#'
#' @param data A data frame returned by `{effectsize}` functions.
#' @param ... Currently ignored.
Expand Down
7 changes: 3 additions & 4 deletions R/meta-analysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
#' @param data A data frame. It **must** contain columns named `estimate` (effect
#' sizes or outcomes) and `std.error` (corresponding standard errors). These
#' two columns will be used:
#' - as `yi` and `sei` arguments in `metafor::rma()` (for **parametric** test)
#' or `metaplus::metaplus()` (for **robust** test)
#' - as `y` and `SE` arguments in `metaBMA::meta_random()` (for **Bayesian**
#' test).
#' - as `yi` and `sei` arguments in [`metafor::rma()`] (for **parametric** test)
#' - as `yi` and `sei` arguments in [`metaplus::metaplus()`] (for **robust** test)
#' - as `y` and `SE` arguments in [`metaBMA::meta_random()`] (for **Bayesian** test)
#' @inheritParams one_sample_test
#' @inheritParams metaplus::metaplus
#' @inheritParams oneway_anova
Expand Down
4 changes: 2 additions & 2 deletions R/oneway-anova.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
#' width to use in calculating Bayes factors and posterior estimates. In
#' addition to numeric arguments, several named values are also recognized:
#' `"medium"`, `"wide"`, and `"ultrawide"`, corresponding to *r* scale values
#' of 1/2, sqrt(2)/2, and 1, respectively. In case of an ANOVA, this value
#' corresponds to scale for fixed effects.
#' of `1/2`, `sqrt(2)/2`, and `1`, respectively. In case of an ANOVA, this
#' value corresponds to scale for fixed effects.
#' @inheritParams two_sample_test
#' @inheritParams add_expression_col
#' @param ... Additional arguments (currently ignored).
Expand Down
2 changes: 1 addition & 1 deletion R/tidy-model-expressions.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#'
#' @param ... Currently ignored.
#' @param data A tidy data frame from regression model object (see
#' `statsExpressions::tidy_model_parameters()`).
#' [`statsExpressions::tidy_model_parameters()`]).
#' @param statistic Which statistic is to be displayed (either `"t"` or `"f"`or
#' `"z"` or `"chi"`) in the expression.
#' @inheritParams oneway_anova
Expand Down
2 changes: 1 addition & 1 deletion man/centrality_description.Rd

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

12 changes: 8 additions & 4 deletions man/contingency_table.Rd

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

4 changes: 2 additions & 2 deletions man/corr_test.Rd

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

7 changes: 3 additions & 4 deletions man/meta_analysis.Rd

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

4 changes: 2 additions & 2 deletions man/one_sample_test.Rd

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

4 changes: 2 additions & 2 deletions man/oneway_anova.Rd

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

4 changes: 2 additions & 2 deletions man/pairwise_comparisons.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/tidy_model_expressions.Rd

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

4 changes: 2 additions & 2 deletions man/two_sample_test.Rd

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

0 comments on commit e607950

Please sign in to comment.