Learn R Programming

intSDM (version 2.1.1)

initValues: initValues: Function to obtain initial values from a intModel object.

Description

This function is used to obtain initial values by running a separate linear model on each sub-likelihood of the model to find maximum likelihood estimates, and averaging the estimates across all likelihoods.

Usage

initValues(data, formulaComponents)

Value

The return of the function depends on the argument Save from the startWorkflow function. If this argument is FALSE then the objects will be saved to the specified directory. If this argument is TRUE then a list of different outcomes from the workflow will be returned.

Arguments

data

A intModel object.

formulaComponents

A vector of fixed effects for which to find initial values.