print.htest {NCStats}R Documentation

Modificaton of print.htest() to streamline output.

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

## 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

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


[Package NCStats version 0.4.7 Index]