get_parms {TTR.PGM}R Documentation

get_parms: Pack parameters in an easily accessible list

Description

This function takes a numeric vector of all process model parameters and returns a representation that is human readable and can be used by run_ttr()

Usage

get_parms(par, Data, no.structure = FALSE)

Arguments

par

A numeric vector of parameters as supplied by an external parameter estimation algorithm, e.g. LaplacesDemon or DEoptim

Data

data object as returned by the make_data() function

no.structure

If 'TRUE', only run interval_parms() and unname() the result, this is convenient when using LaplacesDemon.

Value

A list containing a vector of the alpha parameters and an array of dimension (nbeta, nspecies) where nbeta is the number of beta parameters and nspecies is the number of species, containing the beta parameters per species


[Package TTR.PGM version 1.0.0 Index]