Description Usage Arguments Value Examples
One-sample Students t test, with display of t function and areas beyond t observed.
1 2 3 4 5 6 7 8 | one.sample.t(
x = NULL,
sample.mean = NULL,
sample.sd = NULL,
n = NULL,
mu = 0,
test.type = "2-sided"
)
|
x |
Data to be used |
sample.mean |
A value to be supplied if original observations are not. |
sample.sd |
A value to be supplied if original observations are not. |
n |
The number of observations. (Use when dat are not supplied.) |
mu |
A value for the expected mean under the null hypothesis |
test.type |
2-sided or 1-sided |
Test results
1 | one.sample.t(x=rnorm(10),mu=0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.