P {dMod}R Documentation

Generate a parameter transformation function

Description

Generate parameter transformation function from a named character vector or object of class eqnvec. This is a wrapper function for Pexpl and Pimpl. See for more details there.

Usage

P(
  trafo = NULL,
  parameters = NULL,
  condition = NULL,
  attach.input = FALSE,
  keep.root = TRUE,
  compile = FALSE,
  modelname = NULL,
  method = c("explicit", "implicit"),
  verbose = FALSE
)

Arguments

trafo

object of class eqnvec or named character or list thereof. In case, trafo is a list, P() is called on each element and conditions are assumed to be the list names.

parameters

character vector

condition

character, the condition for which the transformation is generated

attach.input

attach those incoming parameters to output which are not overwritten by the parameter transformation.

keep.root

logical, applies for method = "implicit". The root of the last evaluation of the parameter transformation function is saved as guess for the next evaluation.

compile

logical, compile the function (see funC0)

modelname

character, see funC0

method

character, either "explicit" or "implicit"

verbose

Print out information during compilation

Value

An object of class parfn.


[Package dMod version 1.0.2 Index]