print.fastDR | R Documentation |
Display basic information about a fastDR
object.
## S3 method for class 'fastDR'
print(x,type="outcome",model="dr",...)
x |
an object of class |
type |
a string taking value “outcome” or “complete” |
model |
a string taking value “un”, “ps”, or “dr” |
... |
arguments passed to |
If type="outcome"
then print.fastDR()
will output the treatment effect estimate. Which treatment effect estimate depends on the value of model
. Presumably, "dr"
will be needed, but an unadjusted and propensity score weighted option are available. The results will be transformed to a scale appropriate for the y.dist
specified when the user called fastDR
. print.fastDR()
will produce odds ratios for binomial outcomes, rate ratios for Poisson outcomes, and differences for all others.
If type="complete"
then print.fastDR()
will print the entire effects results.
See fastDR
for an example of its use.
Greg Ridgeway gridge@sas.upenn.edu
fastDR
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.