Description Usage Arguments Value
Plots the estimated density ratio, the true density ratio, and the true component distributions, on both the original (probability density & ratio) scale as well as the log scale (log density and log ratio).
1 2 | plot_ratio(ratio_obj, output_directory = NULL,
plot_height = PLOT_HEIGHT, plot_width = PLOT_WIDTH)
|
ratio_obj |
a ratio object produced by |
output_directory |
defaults to NULL, if not null, should be a file.path that points to a directory where the pdf of the plot will be saved. |
plot_height |
output pdf plot height in inches(?) |
plot_width |
output pdf plot width in inches(?) |
... |
other arguments to be passed to |
a ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.