print.htest_boot: Print result held in 'htest_boot' object

Description Usage Arguments Value See Also Examples

Description

print.htest_boot prints a return value held in a list of class 'htest_boot', as returned by e.g., nestedRanksTest. Class 'htest_boot' extends class 'htest' by including group weights, the number of bootstrap iterations, and the complete null distribution. The latter is not printed by this function; it may be visualised with plot.htest_boot.

Usage

1
2
3
## S3 method for class 'htest_boot'
print(x, digits = getOption("digits"), prefix = "\t",
  ...)

Arguments

x

Value of class 'htest_boot' as returned by e.g., nestedRanksTest.

digits

Number of digits or significant digits to use in output. Similar to other print methods, this method pays attention to the "digits" option.

prefix

String, passed to print.htest

...

Additional arguments passed to print.htest.

Value

The value of x is returned invisibly.

See Also

plot.htest_boot for a graphical plot of test results, print.htest for the print method of the base class, and nestedRanksTest for one test that returns an object of class 'htest_boot'

Examples

1
2
3
4
5
6
7
data(woodpecker_multiyear)
## n.iter set to 1000 to shorten completion time
res <- nestedRanksTest(Distance ~ Year | Granary, n.iter = 1000,
                       data = woodpecker_multiyear,
                       subset = Species == "agrifolia")
class(res)
print(res)

nestedRanksTest documentation built on May 2, 2019, 10:43 a.m.