| eta_sq_ci | R Documentation |
Percentile bootstrap for the proportion of variance in outcome
explained by group, resampling observations jointly so the group
structure travels with each resample.
eta_sq_ci(outcome, group, R = 2000, conf.level = 0.95, seed = NULL)
outcome |
A numeric vector. |
group |
A grouping vector of the same length. |
R |
Integer. Number of bootstrap resamples. Defaults to 2000. |
conf.level |
Confidence level. Defaults to 0.95. |
seed |
Integer or NULL. When supplied, sets the random seed. |
A named numeric vector: estimate, lower, upper. The bounds
are NA with fewer than 3 complete observations or fewer than 2 groups.
bootstrap_ci()
eta_sq_ci(mtcars$mpg, mtcars$cyl, seed = 42)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.