powered by
Create an html base64 string from a png graphic to draw needles for current sample sizes. Uses colors set by call to setqreportOptions.
setqreportOptions
dNeedle(sf, study = " ")
a base64 representation of a png graphic, suitable for inclusion in html
output of sampleFrac
sampleFrac
character string specifying study ID
setqreportOption(tx.var='treatment', denom=c(enrolled=1000, randomized=800, a=398, b=402)) dNeedle(sampleFrac(getqreportOption('denom')))
Run the code above in your browser using DataLab