No articles match
Plotting risk estimates9 days ago
Introduction | What plot_risk() expects | Example data used in this vignette | The default behavior for data-frame input | Return formats and the roles of add_to_dat and collapse | Rendering plots directly | Using a manually constructed data frame | Reordering or restricting outcomes | Annotation controls | Removing annotation | Keeping only selected annotation components | Showing the 30-year age-warning subtitle | Color schemes | Single-color plots | Category-based plots | Cleaning threshold input | Legend and threshold-line controls | Removing the legend | Removing the dashed threshold lines | Keeping lines but removing line text | Base font size | Multiple time horizons in one data frame | Multiple people in one data frame | Working with a list of data frames | Returning a list of data frames with plots attached | Collapsing a list input to one data frame | Returning only the plots from a list input | Malformed list input is not accepted | Strict logical arguments | Viewing data frames with plots as a list column | Notes on progress | Summary
Using preventr with a data frame9 days ago
Using use_dat and add_to_dat | Our first call using use_dat | Progress bar | Passing a data frame with a predictor variable located in a differently-named column | Optional behavior variables: Data frame vs. in the call | Number of rows returned for a given input row = number of models requested | add_to_dat | Type-stability of return | What about the PCEs? | What about the convenience functions for eGFR and BMI? | I don't want to use use_dat and add_to_dat | Then don't! | lapply() | Map() | purrr::pmap() | Wrap-up