validSim: Returns a valid simulation by removing non-finite results

View source: R/validSim.R

validSimR Documentation

Returns a valid simulation by removing non-finite results

Description

Checks whether any abundances are non-finite and if any are found, a warning is issued and the simulation is truncated at the last time step where all results are finite.

Usage

validSim(sim)

Arguments

sim

A MizerSim object

Value

A MizerSim object with possibly fewer time steps


sizespectrum/mizerExperimental documentation built on April 16, 2024, 8:39 a.m.