print.stand_surveil {surveil} | R Documentation |
Methods for age-standardized rates
Description
Print and plot methods for stand_surveil
(standardized rates obtained from a fitted surveil
model)
Usage
## S3 method for class 'stand_surveil'
print(x, scale = 1, digits = 3, ...)
## S3 method for class 'stand_surveil'
plot(
x,
scale = 1,
style = c("mean_qi", "lines"),
M = 250,
base_size = 14,
col = "black",
fill = "gray80",
alpha,
lwd,
...
)
Arguments
x |
An object of |
scale |
Scale the rates by this amount; e.g., |
digits |
Number of digits to print |
... |
additional arguments |
style |
If |
M |
Number of samples to plot when |
base_size |
Passed to |
col |
Line color |
fill |
Fill color for the 95 percent credible intervals |
alpha |
For |
lwd |
Line width; for |
Details
Calling standardize
on a fitted surveil
model will create a new object that contains the surveil
model results as well standardized rates. This new stand_surveil
object has its own methods for printing and plotting.
print.stand_surveil
Any additional arguments (...
) will be passed to print.data.frame
plot.stand_surveil
Any additional arguments (...
) will be passed to 'theme
.
Value
print.stand_surveil
The print method returns nothing but prints a summary of results to the console.
plot.stand_surveil
The plot method returns an object of class ggplot
.