detect: Detect model failure

Description Usage Arguments Value

View source: R/tools.R

Description

Helper function used to determine whether an attempt at an mle2 fit failed

Usage

1
detect(x)

Arguments

x

An object

Value

TRUE/FALSE depending on whether or not 'try-error' is listed as (one) of the classes of object x.


ctkremer/growthTools documentation built on July 27, 2021, 4:19 p.m.