View source: R/fct_inspection.R
do_quick_check | R Documentation |
This function performs multiple checks on user-defined columns.
do_quick_check(
df,
v_probs = NULL,
v_utilities = NULL,
v_costs = NULL,
v_hr = NULL,
v_rr = NULL,
v_r = NULL,
v_outcomes = NULL
)
df |
a dataframe. |
v_probs |
(a vector of) character. Name of variables containing probabilities. |
v_utilities |
(a vector of) character. Name of the variables containing utility values. |
v_costs |
(a vector of) character. Name of the variables containing cost estimates. |
v_hr |
(a vector of) character. Name of the variables containing hazard ratios. |
v_rr |
(a vector of) character. Name of the variables containing relative risks. |
v_r |
(a vector of) character. Name of the variables containing rates. |
v_outcomes |
(a vector of) character. Name of the variables containing outcomes of the model. |
A matrix.
# Checking costs and utility values of the example data
do_quick_check(df = df_pa,
v_utilities = c("u_pfs", "u_pd"),
v_costs = c("c_pfs", "c_pd", "c_thx")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.