ttest.plot: Plot the PDF of Test Statistic with the T-distribution

ttest.plotR Documentation

Plot the PDF of Test Statistic with the T-distribution

Description

Plot the PDF of Test Statistic with the T-distribution

Usage

ttest.plot(md, deg, prng = c(-4, 4), side = "two", dig = 4, mt,
  pvout = TRUE)

Arguments

md

T-test statistic for the difference of population means

deg

Degree of freedom

prng

Range of x-axis, Default: c(-4, 4)

side

Type of the alternative hypothesis, Default: 'two'

dig

Number of digits below the decimal point, Default: 4

mt

Plot title

pvout

Print p-value? Default: TRUE

Value

None.

Examples

ttest.plot(1.96, deg=24)

adoocavo/Rstat_M1 documentation built on March 19, 2022, 3:34 a.m.