Skip to content

Add a specific plot method for predictions #83

@zsusswein

Description

@zsusswein

In #76 @seabbs wrote:

I think we should have a issue for making these low level ggplot calls into their own standalone functions that take the output of predict as an alternative user path

My read is that this would be something like:

fit <- RtGam(stochastic_sir_rt["obs_incidence"]], stochastic_sir_rt[["date"]])
preds <- predict(fit) # Maybe I want to apply some funky options here
sums <- summary(fit) # Or maybe I want to use the summary method

# And I can have some standardized plotting method
plot_predict(preds)
plot_predict(sums)

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogTo-do for an unspecified future release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions