Learn R Programming

loewesadditivity (version 0.1.0)

calc_S_base: Calculate S from given tau_1 for base model

Description

Calculate S from given tau_1 for base model

Usage

calc_S_base(best_pars, fn_list = NULL)

Arguments

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

Value

Hewlett's S for the base model.

Examples

Run this code
# NOT RUN {
best_pars <- c("tau_1" = 0,
              "tau_2" = 1,
              "gamma_A" = 1,
               "gamma_B" = 1)
calc_S_base(best_pars) # should be 1
# }

Run the code above in your browser using DataLab