Description Usage Arguments Value Examples
View source: R/GIA_functions.R
Calculate S from given tau_1 for base model
1  | calc_S_base(best_pars, fn_list = NULL)
 | 
best_pars | 
 named vector of parameters. "tau_1" must be a name. As must "tau_2" and "gamma_A" and "gamma_B"  | 
fn_list | 
 NULL  | 
Hewlett's S for the base model.
1 2 3 4 5  | best_pars <- c("tau_1" = 0,
              "tau_2" = 1,
              "gamma_A" = 1,
               "gamma_B" = 1)
calc_S_base(best_pars) # should be 1
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.