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)
numeric vector (first variable).
nuermic verctor (second variable).
number of replicates for bootstraping.
confidence level of the interval.
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.
cor.test, boot
cor.test
boot
# NOT RUN { 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