completeSpeciesParams {mizer}R Documentation

Complete species parameter data frame with default values

Description

Sets defaults for missing but required species parameters.

Usage

completeSpeciesParams(species_params)

Arguments

species_params

The user-supplied species parameter data frame

Value

A completed species parameter data frame

The function sets default values if any of the following species parameters are missing or NA:

It calls validSpeciesParams() to check the validity of the species parameters. Nevertheless the species parameters returned by this function are not guaranteed to produce a viable model. More checks of the parameters are performed by the individual rate-setting functions (see setParams() for the list of these functions).

See Also

species_params(), validSpeciesParams()


[Package mizer version 2.5.1 Index]