R/Pearson_correlation_coefficient_rxc_bca.R
Pearson_correlation_coefficient_rxc_bca.RdThe Pearson correlation coefficient with the bias-corrected and accelerated
boostrap confidence interval
Described in Chapter 7 "The rxc Table"
An object of the contingencytables_result class,
basically a subclass of base::list(). Use the utils::str() function
to see the specific elements returned.
set.seed(3509)
Pearson_correlation_coefficient_rxc_bca(table_7.7, nboot = 800)
#> The Pearson correlation w / BCa bootstrap CI: r = -0.1020 (95% CI -0.1697 to -0.0344)
Pearson_correlation_coefficient_rxc_bca(table_7.8, nboot = 200)
#> The Pearson correlation w / BCa bootstrap CI: r = 0.6590 (95% CI 0.5553 to 0.7360)
if (FALSE) { # \dontrun{
Pearson_correlation_coefficient_rxc_bca(table_7.9)
} # }