surveil_diff {surveil} | R Documentation |
Methods for surveil_diff
objects
Description
Methods for surveil_diff
objects
print surveil_diff objects for analyses of inequality
Usage
## S3 method for class 'surveil_diff'
plot(
x,
style = c("mean_qi", "lines"),
M = 250,
col = "black",
fill = "gray80",
lwd,
alpha,
plot = TRUE,
scale = 1e+05,
PAR = TRUE,
ncol = 3,
base_size = 14,
...
)
## S3 method for class 'surveil_diff'
print(x, scale = 1, ...)
Arguments
x |
Object of class |
style |
If |
M |
If |
col |
Line color |
fill |
Fill color for credible intervals, passed to |
lwd |
Linewidth |
alpha |
transparency; for |
plot |
If |
scale |
Print rates and rate differences as per |
PAR |
Return population attributable risk? IF |
ncol |
Number of columns for the plotting device. If |
base_size |
Passed to |
... |
additional print arguments |
Value
plot.surveil_diff
By default or whenever plot = TRUE
, the plot method draws a series of plots to the current plotting device using grid.arrange
. If plot = FALSE
, then a list of ggplot
s is returned.
print.surveil_diff
The print method returns nothing and prints a summary of results to the console.