draw_t {interpretCI}R Documentation

Draw t distribution curve

Description

Draw t distribution curve

Usage

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

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")

[Package interpretCI version 0.1.1 Index]