View source: R/fct_metamodel.R
dsa_lm_metamodel | R Documentation |
This function performs deterministic sensitivity analyses (DSA) using the results of a linear metamodel. (STILL IN DEVELOPMENT)
dsa_lm_metamodel(df, lm_metamodel)
df |
a dataframe. This dataframe should contain both the dependent and independent variables of 'lm_metamodel'. |
lm_metamodel |
a lm object. This object should use variables defined in 'df'. |
The details of the methods used in for these DSA are described in XXX.
A dataframe with the results of deterministic sensitivity analyses performed using parameter values of the linear metamodel. The dataframe contains the results using the lower and upper bound of the 95
# Fitting meta model with two variables using the summary data
data(df_pa)
lm_res_2 <- fit_lm_metamodel(df = df_pa,
y = "Inc_QALY",
x = c("p_pfsd", "p_pdd")
)
dsa_lm_metamodel(df = df_pa,
lm_metamodel = lm_res_2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.