plot_cor.Rd
The observed correlation coefficient.
Total number of observations (sample size).
The method by which the coefficient was calculated: pearson, spearman, or kendall (default is "pearson")
Choose whether to plot a "consonance" function ("c"), consonance density ("cd"), or both (c("c","cd"); default option).
Numeric vector of confidence levels to display
Returns plot of the distribution of the correlation coefficient.
This function was created so that users could create consonance plots of Pearson's correlation coefficient. These types of plots are discussed by Schweder T, Hjort NL. (2016, ISBN:9781316445051) and Rafi Z, Greenland S. (2020) doi:10.1186/s12874-020-01105-9.
Other Correlations:
boot_cor_test()
,
corsum_test()
,
power_z_cor()
,
z_cor_test()