library(RCPA3)
sampdistC(stat=10, se=1)
if (FALSE) {
# based on normal distributions
sampdistC(stat=10, se=1, plot.cdf=TRUE)
# based on t-distribution with 15 degrees of freedom
sampdistC(stat=8, se=2, t.df=15)
sampdistC(stat=8, se=2, t.df=15, plot.cdf=TRUE)
}
Run the code above in your browser using DataLab