Learn R Programming

mizer (version 2.3.0)

getParams: 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

Run this code
# NOT RUN {
# 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)
# }

Run the code above in your browser using DataLab