powered by
Set qreport Options
setqreportOption(..., study = " ")
no returned value, used to set options()
options()
a series of options for which non-default values are desired:
tx.pch:symbols corresponding to treatments
tx.pch
tx.col:colors corresponding to treatments
tx.col
tx.linecol:colors for lines in line plots
tx.linecol
nontx.col:colors for categories other than treatments
nontx.col
tx.lty:line types corresponding to treatments
tx.lty
tx.lwd:line widths corresponding to treatments
tx.lwd
tx.var:character string name of treatment variable
tx.var
er.col:2-vector with names "enrolled","randomized" containing colors to use for enrolled and randomized in needle displays
er.col
"enrolled","randomized"
alpha.f:single numeric specifying alpha adjustment to be applied to all colors. Default is 1 (no adjustment)
alpha.f
denom:named vector with overall sample sizes
denom
See https://github.com/plotly/plotly.py/blob/master/plotly/colors.py#L83-L87
an optional study mnemonic (character string) needed when multiple studies are being analyzed (or when one study is divided into distinct strata)
setqreportOption(tx.var='treatment', denom=c(enrolled=1000, randomized=800, a=398, b=402))
Run the code above in your browser using DataLab