Skip to contents

Filter model run for specific time step.

Usage

filter_mdlrn(result, filter = max(result$max_i), reset = FALSE)

Arguments

result

mdl_rn object.

filter

Integer with one or vector with min/max time step(s) to filter.

reset

Logical if TRUE, cumulative seafloor values are reduced by value before filter minimum.

Value

mdl_rn

Details

This functions allows to return only specific time steps of a mdl_rn object created with run_simulation.

Examples

if (FALSE) { # \dontrun{
filter_mdlrn(result = result_rand, filter = c(result_rand$max_i / 2, result_rand$max_i))
} # }