# NOT RUN {
p.rep(.05) #probability of replicating a result if the original study had a p = .05
p.rep.f(9.0,98) #probability of replicating a result with F = 9.0 with 98 df
p.rep.r(.4,50) #probability of replicating a result if r =.4 with n = 50
p.rep.t(3,98) #probability of replicating a result if t = 3 with df =98
p.rep.t(2.14,84,14) #effect of equal sample sizes (see Rosnow et al.)
# }
Run the code above in your browser using DataLab