hist_weights | R Documentation |
Histograms of Weights and Rescaled Weights Distributions
ipds_wts |
A data frame containing individual patient data from the
intervention study, with a column containing the estimated weights
(derived using |
intervention.arm |
The name of the grouping column in the data frame
specified by ipds, e.g., |
wt.col |
The name of the estimated weights column in the data frame
specified by ipds_wts. The default is |
rswt.col |
The name of the estimated rescaled weights column in the
data frame specified by ipds_wts. The default is |
bin |
The number of bins or bars of the histogram. |
xstepby |
An integer guiding the breaks on the X-axis. |
ystepby |
An integer guiding the breaks on the Y-axis. |
... |
Refer to geom_histogram for additional parameters. |
Histograms of weights and rescaled weights distributions.
hist_weights(pts, intervention.arm = TRT, xstepby = 2, ystepby = 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.