You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
p <- incidence2::incidence(
linelist,
date_index = "date_onset", # in quotation marks
interval = "weeks", # in quotation marks
groups = "outcome") # in quotation marks
plot(p, fill= "outcome") # not interactive version
plot(p, fill= "outcome") |> plotly::ggplotly() # interactive
After running the code
p <- incidence( linelist, date_index = date_onset, interval = "weeks", groups = outcome)
I recived an error:
Error: object 'date_onset' not found
new_pages/interactive_plots.qmd
The text was updated successfully, but these errors were encountered: