make_matrices {hmmTMB}R Documentation

Create model matrices

Description

Create model matrices

Usage

make_matrices(formulas, data, new_data = NULL)

Arguments

formulas

List of formulas (possibly nested, e.g. for use within Observation)

data

Data frame including covariates

new_data

Optional new data set, including covariates for which the design matrices should be created. This needs to be passed in addition to the argument 'data', for cases where smooth terms or factor covariates are included, and the original data set is needed to determine the full range of covariate values.

Value

A list of


[Package hmmTMB version 1.0.2 Index]