getParams: Extract the parameter object underlying a simulation

View source: R/MizerSim-class.R

getParamsR Documentation

Extract the parameter object underlying a simulation

Description

Extract the parameter object underlying a simulation

Usage

getParams(sim)

Arguments

sim

A MizerSim object

Value

The MizerParams object that was used to run the simulation

Examples

# This will be identical to the params object that was used to create the
# simulation
sim <- project(NS_params, t_max = 1)
identical(getParams(sim), NS_params)

drfinlayscott/mizer documentation built on April 13, 2024, 9:16 a.m.