ComputeNonConstantParam: Compute and evaluate functions for non constant rates

View source: R/modeling.R

ComputeNonConstantParamR Documentation

Compute and evaluate functions for non constant rates

Description

For simplicity, non constant rates here have the following form $o+f*t^e$.

Usage

ComputeNonConstantParam(start, end = start, exponent = 1, end.time = 2)

EvaluateNonConstantParam(t, param)

Arguments

start

the value at t=0

end

the value at t=end.time

exponent

the exponent (e above)

end.time

the end time

t

vector of times

param

output of ComputeNonConstantParam(), only a single row!

Value

data frame containing either the parameters o, f and e (ComputeNonConstantParam), or containing the value of $o+f*t^e$ for the given times (EvaluateNonConstantParam).

Functions

  • ComputeNonConstantParam(): compute a data frame containing the parameters for non constant rates

  • EvaluateNonConstantParam(): compute a data frame containing the rates for the given parameter set (computed from ComputeNonConstantParam)


grandR documentation built on April 4, 2025, 2:27 a.m.