Description Usage Arguments Value
View source: R/plot_occupancy.R
Plot state occupancy for 1.25 multi-state model
1 2 3 4 5 6 7 8 | plot_occupancy(
pred,
state = "all",
pi = FALSE,
pi_length = 0.9,
ttl = "",
sttl = ""
)
|
pred |
an object returned by pred_state_occupancy |
state |
a vector containing one or more of the following values: 'hos', 'icu', 'rest', 'death', 'recovery'; use 'all' to select all the states |
pi |
a logical value (TRUE/FALSE) indicating if prediction intervall must be drawn |
pi_length |
length of predicion intervall (ignored if pi = FALSE) |
ttl |
plot title |
sttl |
plot subtitle |
a plot of state occupancy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.