powered by
Computes the confidence interval of a Spearman's rank correlation coefficient by bootstraping.
spearman.ci(var1, var2, nrep = 1000, conf.level = 0.95)
name of the test.
a character string giving the name(s) of the data.
confidence level.
number of replicates.
Spearman's rank correlation coefficient.
confidence interval.
numeric vector (first variable).
nuermic verctor (second variable).
number of replicates for bootstraping.
confidence level of the interval.
Maxime HERVE <maxime.herve@univ-rennes1.fr>
cor.test, boot
cor.test
boot
var1 <- sample(1:50,15,replace=TRUE) var2 <- sample(1:50,15,replace=TRUE) spearman.ci(var1,var2)
Run the code above in your browser using DataLab