print.bintest: Method for formatting 'bin.test' output

Description Usage Arguments Author(s) Examples

Description

Function for printing the output from bin.test function. The code is available below.

Usage

1
2
## S3 method for class 'bintest'
print(x, ...)

Arguments

x

object to use print.bintest method on

...

Further arguments to be passed to or from methods.

Author(s)

Rostislav Linda

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## The function is currently defined as

print.bintest<-function(x,...){
  cat("\nMultiple comparisons of binomial proportions:")
  cat("\n=============================================\n")
  print(x$mc)
  cat("\nRow names specifies currently compared treatments in respective row.\n")
  cat("--------------------------------------------------------------------\n")
  cat("\nConfidence intervals for probabilities:")
  cat("\n=============================================\n")
  cat("\nThe estimate is computed for column named:",x$obs_variable)
  cat("\n\n")
  print(x$CI)
  cat("-----------------------------------\n")
  cat("\nError bar lengths:")
  cat("\n=============================================\n")
  print(x$errbars)
  cat("-----------------------\n")
}

Lindros9203/mcbintest documentation built on May 6, 2019, 12:06 a.m.