boot_inv_eff | R Documentation |
Bootstrapped pairwise differences in psychometric function of groups.
boot_inv_eff( n, n_sample, df, items, group, eff_sizes = c("SDI2", "UDI2", "WSDI", "WUDI", "dmacs"), seed = 2711 )
n |
Number of bootstraps |
n_sample |
Number of participants to sample |
df |
Data to resample |
items |
Items to resample for the model as vector of strings |
group |
String variable indicating grouping variable |
eff_sizes |
Effect sizes to be returned |
seed |
Seed for replicability |
Returns a dataframe with the bootstrapped effect sizes based on the invariance_eff function in this package for two country comparisons.
two_country <- dplyr::filter(example, country %in% c("NZ" , "BRA")) boot_inv_eff(n = 10, n_sample = 200, df = two_country, group = "country", items = paste0("voice",1:3, "m"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.