sn2ft2x2 {evidence} | R Documentation |
This function converts the successes and totals vectors required as input for function B2props to a 2x2 contingency table for input to CTA or Bft2x2.
sn2ft2x2(s, n)
s |
a vector of length 2 of successes |
n |
a vector of length 2 of numbers of trials |
a 2 x 2 contingency table equivalent to the two arguments
Robert van Hulst
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
sn2ft2x2(c(47, 59), c(120, 125))