powered by
Returns a bootstrap confidence interval for any of the correlations available in the base R cor function.
cor
cor.boot.ci(x, y, method = "spearman", conf = 0.95, nbs = 3000)
A confidence interval.
n by 1 vector
Which correlation to use. Argument passed to cor.
Confidence level.
number of bootstrap samples to base CI on.
John Kloke, Joseph McKean
Obtains a percentile bootstrap confidence interval. The bootstrap samples are obtained via the function boot.
boot
See Also as cor
library(boot) with(bb2010,cor.boot.ci(ave,hr))
Run the code above in your browser using DataLab