get_parameter_values: Obtain parameter values and handle covariate formulas

View source: R/functions.R

get_parameter_valuesR Documentation

Obtain parameter values and handle covariate formulas

Description

Uses a suite of helper functions to calculate linear predictors for parameter values, with and without covariate inclusion, for stopover and mixture models

Usage

get_parameter_values(par, DMs, skeleton, n)

Arguments

par

A vector of parameter estimates, typically supplied by optim

DMs

The list of design matrices which contains all of the design matrices required to calculated the value of each parameter given its covariate values

skeleton

A named list of parameters which can be used to relist the vector of parameter guesses provided by optim into the structure expected by GAI package functions

n

The integer number of data points for which these parameter values should be found

Value

A name dlist containing the Mu, Sigma and W parameters for the data points


calliste-fagard-jenkin/GAI documentation built on July 26, 2022, 11:20 a.m.