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)

mizer documentation built on Oct. 17, 2024, 9:07 a.m.