dariat | R Documentation |
A function similar to "daria", with the only difference it uses the t instead of the z distribution. In addition, the function expects an additional parameter for the degrees of freedom.
dariat(area, t1, t2, df, draw = FALSE)
area |
The required area |
t1 |
First t value, in the interval +/- 4 |
t2 |
Second t value, in the interval +/- 4 |
df |
Degrees of freedom |
draw |
Logical; if TRUE, draw the area |
In the argument area
, the function accepts:
"l"
, "u"
, "left"
and "under"
for the area to the left of z,
"r"
, "o"
, "a"
, "right"
"over"
and "above"
for the area to the right of z
"b"
and "between"
for the area between two z values.
z values smaller than -4 and greater than +4 are truncated to these values, since the area to the left and to the right of these values is practically equal to zero.
Adrian Dusa
pt
, qt
# for 100 degrees of freedom dariat("between", -1.96, 1.96, df = 100) dariat("over", -1, df = 100) dariat("under", -1, df = 100) dariat("over", 2, df = 100, draw = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.