Learn R Programming

tramME (version 0.1.3)

re_terms: Create random effects data and initial paramaters

Description

Create random effects data and initial paramaters

Usage

re_terms(ranef, data, negative)

Arguments

ranef

a list of random effects formulas from findbars

data

data.frame containing the variables of the model

negative

logical value that indicates whether the random effects have a negative sign

Value

A list containing data and parameter values to be used in the TMB model.