Description Usage Arguments Details Value Author(s) See Also Examples
Specific utilities for pretty printing various items in a knitr document.
1 2 3 4 5 6 7 |
x |
An object saved from |
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 ( |
... |
Additional arguments for the original |
kANOVA is used to print ‘pretty’ ANOVA tables (i.e., some output removed (see below)).
kGLHT is used to print ‘pretty’ multiple comparison tables (i.e., some output removed (see below)).
kREG is used to print ‘pretty’ summary regression results (i.e., some output removed (see below)).
kHtest is used to print ‘pretty’ hypothesis test (e.g., from t.test or chisq.test) tables (i.e., some output removed (see below)).
kANOVA returns the results of anova but without the heading attribute.
kGLHT returns a matrix of just the hypothesis test or confidence interval results from a glht object (i.e., all messages that are usually printed are stripped away).
kREG returns the results of summary but without the call and the information about the residuals.
kHtest returns the same as stats:::print.htest except that the name of the test, the data used, and, optionally, the descriptor of the alternative hypothesis are not printed.
Derek H. Ogle, dogle@northland.edu
See glht in multcomp for related functionality.
1 | # None yet
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.