draw_t: Draw t distribution curve

Description Usage Arguments Value Examples

View source: R/draw_t.R

Description

Draw t distribution curve

Usage

1
draw_t(DF = 50, t = NULL, p = 0.05, alternative = "two.sided")

Arguments

DF

numeric degree of freedom

t

numeric t value

p

numeric p value

alternative

a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less".

Value

A ggplot

Examples

1
2
3
4
5
6
draw_t(DF=30)
draw_t(DF=20,t=2.5)
draw_t(DF=49,t=1.77)
draw_t(DF=49,p=0.005)
draw_t(DF=19,t=-0.894,alternative="less")
draw_t(DF=146,t=0.67,alternative="greater")

interpretCI documentation built on Jan. 28, 2022, 9:07 a.m.