| mypvalue | R Documentation |
mypvalue function this function creates a plot of the p value given certain parameters below.
mypvalue(t0, xmax = 4, n = 20, alpha = 0.05)
t0 |
this is your vertical line quantile value, (t alpha/2) |
xmax |
this is the length of your x axis |
n |
n is your sample size |
alpha |
this is your default alpha value |
a plot of the p value with the interval and shaded region (acceptance and rejection regions.).
mypvalue(tcalc,n=30,alpha=0.05)
t.test(x1,mu=23)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.