print.htestEnvStats {EnvStats} | R Documentation |

## Print Output of Hypothesis Tests

### Description

This is a modification of the **R** function `print.htest`

that formats and
prints the results of performing a hypothesis test. This method is
automatically called by the EnvStats generic function `print`

when
given an object of class `"htestEnvStats"`

. The names of the EnvStats functions
that perform hypothesis tests and that produce objects of class
`"htestEnvStats"`

are listed under Hypothesis Tests.

### Usage

```
## S3 method for class 'htestEnvStats'
print(x, ...)
```

### Arguments

`x` |
an object of class |

`...` |
arguments that can be supplied to the |

### Details

This is the `"htestEnvStats"`

method for the EnvStats generic function
`print`

.
Prints null and alternative hypotheses, name of the test, estimated population
parameter(s) involved in the null hypothesis, estimation method (if present),
data name, sample size (if present), number of missing observations removed
prior to performing the test (if present), value of the test statistic,
parameters associated with the null distribution of the test statistic,
p-value associated with the test statistic, and confidence interval for the
population parameter (if present).

### Value

Invisibly returns the input `x`

.

### Author(s)

Steven P. Millard (EnvStats@ProbStatInfo.com)

### References

Chambers, J. M. and Hastie, T. J. (1992). *Statistical Models in S*.
Wadsworth & Brooks/Cole.

### See Also

Hypothesis Tests, `htest.object`

,
`print`

.

*EnvStats*version 2.8.1 Index]