# NOT RUN {
# create or import dataset
example.data <- matrix(rnorm(50), 25, 2)
# conduct empirical small telescopes analysis
SmallTelescopes(
data = example.data,
analysis = function(data) {
corr <- cor.test(data[,1], data[,2])
return(list(effect.size = corr$estimate, p.value = corr$p.value))
},
n.original = 10,
B.CI = 100,
B.power = 100)
# }
Run the code above in your browser using DataLab