dNeedle | R Documentation |
Create an html base64 string from a png graphic to draw needles for current sample sizes. Uses colors set by call to setqreportOptions
.
dNeedle(sf, study = " ")
sf |
output of |
study |
character string specifying study ID |
a base64 representation of a png graphic, suitable for inclusion in html
setqreportOption(tx.var='treatment', denom=c(enrolled=1000, randomized=800, a=398, b=402))
dNeedle(sampleFrac(getqreportOption('denom')))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.