Display the sample size in each treatmnet arm as well as the number of pairs.
# S4 method for S4BuyseTest
nobs(object, strata = FALSE, simplify = TRUE, ...)
A vector (when argument strata
is FALSE
) or a matrix (when argument strata
is TRUE
). In the latter case each line correspond to a strata.
an R object of class S4BuyseTest
, i.e., output of BuyseTest
[character vector] the strata relative to which the number of pairs should be output.
Can also be "global"
or FALSE
to output the total number of pairs (i.e. across all strata),
or TRUE
to output each strata-specific number of pairs.
[logical] should the result be coerced to the lowest possible dimension?
no used, for compatibility with the generic method.
Brice Ozenne