sampleFrac | R Documentation |
Uses denominators stored with setqreportOption
along with counts specified to SampleFrac
to compute fractions of subjects in current analysis
sampleFrac(n, nobsY = NULL, table = TRUE, study = " ")
n |
integer vector, named with |
nobsY |
a result of the the |
table |
set to |
study |
character string with study ID |
named vector of relative sample sizes with an attribute table
with frequency counts
setqreportOption(tx.var='treatment', denom=c(enrolled=1000, randomized=800, a=398, b=402))
sampleFrac(getqreportOption('denom'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.