View source: R/wrangle_risk_time_cat.R
wrangle_risk_time_riskcat | R Documentation |
Wrangles an input risk data frame into a risk_time_riskcategory data frame for rarr:timeline function.
wrangle_risk_time_riskcat(risk)
risk |
data frame; A standard risk table. |
A formatted data frame suitable for use by rarr's timeline function.
# Get test data db_risk <- rarr::db_risk # Wrangle risk data risk<- rarr::wrangle_risk(db_risk) # Wrangle risk time riskcategory risk_time_riskcategory <- wrangle_risk_time_riskcat(risk)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.