print.htest: Modificaton of print.htest() to streamline output.

Description Usage Arguments Value Examples

View source: R/print-utils.R

Description

Modifies the print.hstest() function so that the output is less verbose. For example, several ‘extra’ blank lines are removed and the test name is placed on one line with the data.

Usage

1
2
## S3 method for class 'htest'
print(x, digits = 4, quote = TRUE, ...)

Arguments

x

An object of class lm to be printed

digits

A single numeric that indicates the number of digits to use

quote

A single logical that indicates whether strings should be printed with surrounding quotes

...

Not implemented

Value

Invisibly returns the sent x.

Examples

1
2
3
4
5
## data from t.test and chisq.test examples
t.test(1:10,y=c(7:20))

M <- as.table(rbind(c(762, 327, 468), c(484,239,477)))
chisq.test(M)

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