print.pvlrt: Print method for pvlrt objects

print.pvlrtR Documentation

Print method for pvlrt objects

Description

Print method for pvlrt objects

Usage

## S3 method for class 'pvlrt'
print(
  x,
  significance_level = 0.05,
  topn = 12,
  digits = 2,
  show_test_summary = FALSE,
  ...
)

Arguments

x

a pvlrt object; an output of function pvlrt().

significance_level

numeric. Level of significance.

topn

number of top (with respect to likelihood ratio statistic value) pairs to show at the given significance level.

digits

number of digits to show after the decimal place.

show_test_summary

logical. Should a brief summary showing the top few test results be displayed? defaults to FALSE.

...

other input parameters. Currently unused.

Value

Invisibly returns the input pvlrt object.

See Also

pvlrt

Examples


# 500 bootstrap iterations (nsim) in the example below
# are for quick demonstration only --
# we recommended setting nsim to 10000 (default) or bigger

test1 <- pvlrt(statin46, nsim = 500)
print(test1)


pvLRT documentation built on March 7, 2023, 7:17 p.m.