# NOT RUN {
get.correlation.p.and.corr(
x = runif(100),
y = runif(100),
method = 'pearson'
);
get.correlation.p.and.corr(
x = sample(1:10, 100, replace = TRUE),
y = runif(100),
method = 'spearman'
);
# }
Run the code above in your browser using DataLab