add_pow: Add Power Law

View source: R/tmb.R

add_powR Documentation

Add Power Law

Description

Compute and save the intermediate result of applying a power law to the state variables, parameters, sums of these things, and factr expressions of them as well.

Usage

add_pow(model, pow_nms, pow_arg1_nms, pow_arg2_nms, pow_const_nms)

Arguments

model

flexmodel object

pow_nms

name of the resulting power law

pow_arg1_nms

names of the variables used as the bases

pow_arg2_nms

names of the variables used as the exponents

pow_const_nms

names of the variables used as the constant


bbolker/McMasterPandemic documentation built on Aug. 25, 2024, 6:35 p.m.