knitUtil: Specific utilities for use in a knitr document.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Specific utilities for pretty printing various items in a knitr document.

Usage

1
2
3
4
5
6
7
kANOVA(x)

kGLHT(x, type = c("hypothesis", "confidence"))

kREG(x, digits = max(3, getOption("digits") - 3))

kHtest(x, digits = 4, show.alt = FALSE, ...)

Arguments

x

An object saved from lm or glht or an object of class htest (e.g., saved from t.test).

type

A string that indicates the type of glht result to extract.

digits

Number of decimal places to round the values to.

show.alt

A logical that indicates whether the line stating what the alternative hypothesis is should be printed (TRUE) or not (FALSE; default).

...

Additional arguments for the original Stangle or purl.

Details

Value

Author(s)

Derek H. Ogle, dogle@northland.edu

See Also

See glht in multcomp for related functionality.

Examples

1
# None yet

droglenc/NCStats documentation built on June 5, 2021, 2:06 p.m.