Learn R Programming

tramME (version 0.1.3)

tramTMB_inputs: Create inputs of the tramTMB model

Description

The function generates random values for NA values in the list of initial parameter values.

Usage

tramTMB_inputs(model, ft, rt, data, param = NULL)

Arguments

model

a list describing the structure of the model as returned by tramME_model

ft

fixed effects terms as returned by the function fe_terms

rt

random effects terms as returned by the function re_terms

data

model frame containing offsets and weights

param

optional named list of initial parameter values

Value

A list with data matrices and initial parameter values