render.sigr_binomtest: Format binom.test (test of rate of a Binomial/Bernoulli...

View source: R/BinomTest.R

render.sigr_binomtestR Documentation

Format binom.test (test of rate of a Binomial/Bernoulli experiment).

Description

Format binom.test (test of rate of a Binomial/Bernoulli experiment).

Usage

## S3 method for class 'sigr_binomtest'
render(
  statistic,
  ...,
  format,
  statDigits = 4,
  sigDigits = 4,
  pLargeCutoff = 0.05,
  pSmallCutoff = 1e-05
)

Arguments

statistic

wrapped binom.test.

...

extra arguments (not used)

format

if set the format to return ("html", "latex", "markdown", "ascii", "docx", ...)

statDigits

integer number of digits to show in summaries.

sigDigits

integer number of digits to show in significances.

pLargeCutoff

value to declare non-significance at or above.

pSmallCutoff

smallest value to print

Value

formatted string

Examples


bt <- binom.test(7, 10, 0.5)
wrapBinomTest(bt)



sigr documentation built on Aug. 20, 2023, 9:06 a.m.