powered by
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)
a vector of length 2 of successes
a vector of length 2 of numbers of trials
a 2 x 2 contingency table equivalent to the two arguments
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
# NOT RUN { sn2ft2x2(c(47, 59), c(120, 125)) # }
Run the code above in your browser using DataLab