print.hwtest: S3 Method for printing 'hwtest' objects

Description Usage Arguments

Description

Prints test results (hwtest) objects depending on how much detail is provided. If histogram data are present, ggplot2 is used to draw the plot by calling makeHistogram

Usage

1
2
3
## S3 method for class 'hwtest'
print(x, detail = NA, statName = NA, plotHisto = TRUE,
  ...)

Arguments

x

the results from a call to hwx.test

detail

0 for no print; 1 for P value only; 2 for all four P values; 3 to add data; 4 to add expected values

statName

which statistic to use

plotHisto

Indicate whether or not to plot the histogram. Only used if hwx.test was called with histobins set to a positive value.

...

other parameters passed to print.


HWxtest documentation built on May 31, 2019, 9:04 a.m.