Description Usage Arguments Value Examples
View source: R/describe_relationship.R
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
1 2 3 4 5 6 7 | relationship_lm_estimators(
predictor,
outcome,
SESOI_lower = 0,
SESOI_upper = 0,
na.rm = FALSE
)
|
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 |
Named numeric vector with estimators
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.