relationship_lm_estimators: Dependent groups linear relationship estimators

Description Usage Arguments Value Examples

View source: R/describe_relationship.R

Description

Function that provides a list of estimators for linear relationship between predictor and outcome. User is free to define his own list of estimators. Used in compare_dependent_groups

Usage

1
2
3
4
5
6
7
relationship_lm_estimators(
  predictor,
  outcome,
  SESOI_lower = 0,
  SESOI_upper = 0,
  na.rm = FALSE
)

Arguments

predictor

Numeric vector

outcome

Vector

SESOI_lower

Lower smallest effect size of interest threshold

SESOI_upper

Upper smallest effect size of interest threshold

na.rm

Should NAs be removed? Default is FALSE

Value

Named numeric vector with estimators

Examples

1
2
3
4
5
data("yoyo_mas_data")
predictor <- yoyo_mas_data$YoYoIR1
outcome <- yoyo_mas_data$MAS

relationship_lm_estimators(predictor, outcome, SESOI_lower = -0.5, SESOI_upper = 0.5)

mladenjovanovic/bmbstats documentation built on Aug. 5, 2020, 4:20 p.m.