Man pages for mizer
Dynamic Multi-Species Size Spectrum Modelling

addPlotAdd lines to an existing plot
add_scan_annotationsAdd the annotation layers to a MizerScan plot
addSpeciesAdd new species
add_total_lineAdd a total line to plotting data by summing over its series
adjustSizeGridAdjust the size grid
age_matCalculate age at maturity
age_mat_vBCalculate age at maturity from von Bertalanffy growth...
animateAnimate size-dependent quantities through time
append_total_lineConvert the contributors to a total and append the total line
apply_wlimRestrict plot data to a range of weights
array_density_wrtThe density measure of a mizer array
array_log_yThe logarithmic y axis an array's type calls for
ArrayResourceBySizeS3 class for resource size spectra
ArrayResourceBySize_plot_dataThe complete plotting data of a resource-by-size array
ArraySpeciesBySizeS3 class for species x size rate arrays
ArraySpeciesBySize_plot_dataThe complete plotting data of a species-by-size array
ArrayTimeByResourceBySizeS3 class for time x resource-size arrays
ArrayTimeBySpeciesS3 class for time x species arrays
ArrayTimeBySpeciesBySizeS3 class for time x species x size arrays
array_typeThe type of a mizer array
array_typesKinds of quantity a mizer array can hold
array_ylimY-axis limits an array's type calls for
as.data.frameConvert mizer arrays to data frames
as_series_matrixBring what a value function returned into a time by series...
BevertonHoltRDDBeverton Holt function to calculate density-dependent...
bin_average_weightBin-average the weight of a size-spectrum integral
bin_midpointsGeometric bin centres of the size grid
box_pred_kernelBox predation kernel
broadcast_dimsExpand an array to a larger set of labelled dimensions
calc_selectivityCalculate selectivity from gear parameters
calibrateBiomassCalibrate the model scale to match total observed biomass
calibrateNumberCalibrate the model scale to match total observed number
calibrate_toCalibrate the model scale to match a total observation
cdf_y_labelY-axis label for a cumulative-distribution plot
check_band_varsCheck that a data frame has the variables a band style needs
check_finiteCheck that the rate arrays hold only finite values
check_per_log_sizeCheck that 'per_log_size' applies to a mizer array
coerceToExtensionClassCoerce a mizer object to its extension class
collect_dimnamesAssemble the dimnames of a broadcast array
compareParamsCompare two MizerParams objects and print out differences
completeSpeciesParamsAlias for 'validSpeciesParams()'
constantEggRDIChoose egg production to keep egg density constant
constant_otherHelper function to keep other components constant
constantRDDGive constant reproduction rate
convert_density_unitsRestate the units of a density in a different density measure
convert_plot_density_axisExpress plotting data on the requested size axis
convert_plot_size_axisConvert plotting data from weight to length
convert_plot_spectrum_axisConvert a weight-based spectrum to a length-based spectrum
copy_scan_attributesCopy the metadata of a MizerScan onto another object
customFunctionReplace a mizer function with a custom version
cutoff_min_wThe minimum weights given by a cutoff species parameter
default_info_levelThe default level of information that mizer gives
default_pred_kernel_paramsSet defaults for predation kernel parameters
defaults_editionDefault editions
density_measure_jacobianJacobian converting between two density measures
density_measuresDensity measures a spectrum can be expressed in
density_measure_weightFactor relating a density measure to a density with respect...
density_size_unitThe size unit appearing in the units of a density
density_target_measureThe density measure a plot calls for
differentCheck whether two objects are different
dim_extentsCollect the extent of each labelled dimension
dim_from_labelsThe dimensions of an array, given its labels
distanceMaxRelRDIMeasure distance between current and previous state in terms...
distanceSSLogNMeasure distance between current and previous state in terms...
dot-checkRateFunctionOutputCheck that a rate function returns the correct output...
dot-hasSlotS4/S3 compatibility .hasSlot helper
double_sigmoid_lengthLength based double-sigmoid selectivity function
emptyParamsCreate empty MizerParams object of the right size
encounter_kernelThe predation kernel as used by the encounter quadrature
ensureExtensionNamespacesLoad (and optionally install) namespaces for all non-NA...
expand_kernel_offsetsExpand kernel weights indexed by grid offset into a full...
expandSizeGridExpand the size grid
extension_needs_upgradingWhether any extension recorded on an object needs upgrading
extensionRequirementsExtract the requirement view of an extension chain
extensionVersionGet the recorded version stamp for one extension on an object
extensionVersionsExtract the version stamps of an extension chain
filter_plot_length_limitsFilter plotting data to the requested length limits
finalNSize spectra at end of simulation
findSteadyStateFind the steady state of a model
flux_from_ratesAssemble the flux matrix from growth, diffusion and...
flux_unitsUnits string for the flux returned by 'getFlux()'
free_gear_nameA gear name that the model is not already using
frozen_rate_paramsWhich parameters feed which frozen array
gaussian_mixture_pred_kernelGaussian-mixture predation kernel
gear_namesEvery gear name a model uses
gear_paramsGear parameters
get_ArrayResourceBySize_wGet the size grid for an ArrayResourceBySize object
get_ArraySpeciesBySize_wGet the size grid for an ArraySpeciesBySize object
get_ArrayTimeBySpeciesBySize_wGet the size grid for an ArrayTimeBySpeciesBySize object
getBiomassCalculate the total biomass of each species within a size...
getCommunitySlopeCalculate the slope of the community abundance
getCriticalFeedingLevelGet critical feeding level
getDietGet diet of predator at size, resolved by prey species
getDiffusionGet diffusion rate from predation
getDiscreteStabilityAnalyse the stability of mizer's numerical time step
getEffortFishing effort used in simulation
getEGrowthGet energy rate available for growth
getEncounterGet encounter rate
getEReproGet energy rate available for reproduction
getEReproAndGrowthGet energy rate available for reproduction and growth
getESpawningAlias for 'getERepro()'
get_f0_defaultGet default value for f0
getFeedingLevelGet feeding level
getFluxGet flux into size bins
getFluxGradientGet flux gradient
getFMortGet the total fishing mortality rate from all fishing gears...
getFMortGearGet the fishing mortality by time, gear, species and size
get_gamma_defaultGet default value for gamma
getGrowthCurvesGet growth curves giving weight as a function of age
get_h_defaultGet default value for h
get_initial_nCalculate initial population abundances
get_ks_defaultGet default value for 'ks'
getM2Alias for 'getPredMort()'
getM2BackgroundAlias for 'getResourceMort()'
getMeanMaxWeightCalculate the mean maximum weight of the community
getMeanWeightCalculate the mean size of the community
getMortGet total mortality rate
getNCalculate the number of individuals within a size range
getOscillationModeSimConstruct a MizerSim of the leading oscillatory mode
getParamsExtract the model state from a simulation
get_phiGet values from feeding kernel function
getPhiPreyGet available energy
getPredMortGet total predation mortality rate
getPredRateGet predation rate
getProportionOfLargeFishCalculate the proportion of large fish
getRatesGet all rates
getRDDGet density dependent reproduction rate
getRDIGet density independent rate of egg production
getRequiredRDDDetermine reproduction rate needed for initial egg abundance
getResourceMortGet predation mortality rate for resource
getSimParamsExtract the projection parameters used to produce a...
get_sim_rate_sliceExtract one saved simulation state for a rate calculation
get_sim_rate_time_elementsGet selected saved time steps for a simulation rate
get_size_range_arrayGet size range array
get_species_size_rate_from_simApply a species-by-size rate function over saved simulation...
get_species_time_rate_from_simApply a species rate function over saved simulation times
getSSBCalculate the SSB of species
getStabilityAnalyse the dynamic stability of a mizer steady state
getSteadyResidualHow far a model is from its steady state
get_steady_state_nCalculate steady state abundance
get_time_elementsGet array indices for a time range in a MizerSim object
getTimesTimes for which simulation results are available
getTrophicLevelGet trophic level of individuals at size
getTrophicLevelBySpeciesGet mean trophic level of each species
getYieldCalculate the rate at which biomass of each species is fished
getYieldGearCalculate the rate at which biomass of each species is fished...
get_yield_observedObserved yield of each species
getZAlias for 'getMort()'
indicator_functionsDescription of indicator functions
initial_effortInitial fishing effort
initialNOther-setInitial values for other ecosystem components
initialNResource-setInitial value for resource spectrum
initialN-setInitial values for fish spectra
install_tmp_gearAdd a gear that exerts the fishing mortality being scanned
interAlias for 'NS_interaction'
interpolate_in_log_sizeInterpolate a series linearly in the logarithm of size
interpolate_relative_framesPut two series on a common size grid before comparing them
isSteadyCheck whether a model is at steady state
is_validatedKeep track of which MizerParams objects have been fully...
isVersionRequirementTest whether a requirement string is a dotted version number
knife_edgeWeight based knife-edge selectivity function
knife_edge_lengthLength based knife-edge selectivity function
l2wLength-weight conversion
length_at_sizeLength of an individual at each weight on the size grid
log_breaksHelper function to produce nice breaks on logarithmic axes
lognormal_pred_kernelLognormal predation kernel
makeExtensionsBuild a versioned extension list from requirements and...
make_linesizeConstruct a named vector of line widths for a plot
make_mizer_plotTag a ggplot object as a mizer plot
markBackgroundDesignate species as background species
matchBiomassesMatch biomasses to observations
matchGrowthAdjust model to produce observed growth
matchNumbersMatch numbers to observations
match_toMatch a quantity to observations species by species
measure_on_attractorMeasure a quantity on the attractor a projection settled on
merge_dim_labelsMerge two ordered sets of dimension labels
mizerDiffusionCalculate diffusion rate
mizerEGrowthGet energy rate available for growth needed to project...
mizerEncounterGet encounter rate during projection
mizerEReproGet energy rate available for reproduction needed to project...
mizerEReproAndGrowthGet energy rate available for reproduction and growth needed...
mizerFeedingLevelGet feeding level needed to project standard mizer model
mizerFMortGet the total fishing mortality rate from all fishing gears
mizerFMortGearGet the fishing mortality needed to project standard mizer...
mizerMortGet total mortality rate needed to project standard mizer...
mizer_needs_upgradingWhether the core mizer slots of an object need upgrading
mizer-packagemizer: Multi-species size-based modelling in R
MizerParamsAlias for 'set_multispecies_model()'
MizerParams-classA class to hold the parameters for a size based model.
mizerPredMortGet total predation mortality rate needed to project standard...
mizerPredRateGet predation rate needed to project standard mizer model
mizerRatesGet all rates needed to project standard mizer model
mizer_rates_subsetCalculate a selected subset of the rates
mizerRDIGet density-independent rate of reproduction needed to...
mizerResourceMortGet predation mortality rate for resource needed to project...
MizerScanS3 class for the result of a parameter scan
MizerSimConstructor for the 'MizerSim' class
MizerSim-classA class to hold the results of a simulation
mizer_tooltip_varsDetermine the tooltip variables for a mizer plot
model_observationThe modelled counterpart of an observation
NTime series of size spectra
needed_ratesDetermine which rates must be calculated to obtain a set of...
needs_upgradingDetermine whether a MizerParams or MizerSim object needs to...
newCommunityParamsSet up parameters for a community-type model
newMultispeciesParamsSet up parameters for a general multispecies model
newSingleSpeciesParamsSet up parameters for a single species in a power-law...
newTraitParamsSet up parameters for a trait-based multispecies model
noRDDGive density-independent reproduction rate
NOtherTime series of other components
NS_interactionExample interaction matrix for the North Sea example
NS_paramsExample MizerParams object for the North Sea example
NS_simExample MizerSim object for the North Sea example
NS_species_paramsExample species parameter set based on the North Sea
NS_species_params_gearsExample species parameter set based on the North Sea with...
objectExtensionsGet the extensions stored in a mizer object
observation_columnsThe species parameter columns holding an observation
other_mortExtra contributions to the mortality and encounter rates
params_as_simA MizerSim holding only the state stored in a MizerParams
parsePlotLogParse the log-axis arguments of a mizer plot function
plotPlot mizer arrays
plot2Compare two mizer arrays in a single plot
plot.ArrayResourceBySizePlot method for 'ArrayResourceBySize' objects
plot.ArraySpeciesBySizePlot method for 'ArraySpeciesBySize' objects
plot.ArrayTimeByResourceBySizePlot method for 'ArrayTimeByResourceBySize' objects
plot.ArrayTimeBySpeciesPlot method for 'ArrayTimeBySpecies' objects
plot.ArrayTimeBySpeciesBySizePlot method for 'ArrayTimeBySpeciesBySize' objects
plotBiomassPlot the biomass of species through time
plotBiomassObservedVsModelPlotting observed vs. model biomass data
plot_cdfBuild the cumulative-distribution plot
plotCDFPlot cumulative abundance or biomass distributions
plotCDF2Compare cumulative abundance or biomass distributions from...
plotComparisonDataFrameMake a plot comparing two data frames
plotDataFrameMake a plot from a data frame
plot_dietBuild the diet-composition plot
plotDietPlot diet, resolved by prey species, as function of predator...
plot_feeding_levelBuild the feeding-level plot
plotFeedingLevelPlot the feeding level of species by size
plotFMortPlot total fishing mortality of each species by size
plot_growth_curvesBuild the growth-curves plot
plotGrowthCurvesPlot growth curves
plotHoverCreate a hover-enabled plotly plot from a mizer object
plot_length_paramsThe weight-length parameters to plot each row of plotting...
plotM2Alias for 'plotPredMort()'
plotMizerParamsSummary plot for 'MizerParams' objects
plot.MizerScanPlot method for 'MizerScan' objects
plotMizerSimSummary plot for 'MizerSim' objects
plotPredMortPlot predation mortality rate of each species against size
plotRelativePlot relative difference between two mizer arrays
plotRelativeDataFrameMake a plot of the relative difference between two data...
plot_size_axisValidate the size-axis argument
plot_size_tooltipAssemble the tooltip variables for a size-axis plot
plot_size_xlabAxis label for a given size axis
plot_size_xlimChoose the x-axis limits for a given size axis
plot_size_x_varName of the x-variable for a given size axis
plot_spectraBuild the size-spectrum plot
plotSpectraPlot abundance and biomass spectra
plotSpectra2Compare abundance and biomass spectra from two objects
plotSpectraRelativePlot relative difference between abundance spectra
plotting_functionsDescription of the plotting functions
plotYieldPlot the total yield of species through time
plotYieldGearPlot the total yield of each species by gear through time
plotYieldObservedVsModelPlotting observed vs. model yields
plotYieldVsFPlot the yield of a species against the fishing mortality on...
plot_y_is_logWhether a plot's y axis is logarithmic
power_law_bin_averageBin average of a power law over geometric bins
power_law_pred_kernelPower-law predation kernel
prepare_ArrayTimeBySpecies_plot_dataThe complete plotting data of a time-by-species array
prepare_MizerScan_plot_dataPrepare the data frame for plotting a MizerScan
prepare_spectra_cdf_dataIntegrate spectra data into a cumulative distribution
printPrint mizer objects
print.mizer_plotPrint a mizer plot
projectProject size spectrum forward in time
project_nProject values for first time step of Euler method
project_n_2Project values with a predictor-corrector method
project_n_tr_bdf2Project values with the TR-BDF2 method
projectRDDGet density-dependent reproduction rate during projection
project_simpleProject abundances by a given number of time steps into the...
projectUntilSettledProject the dynamics until they settle
proportion_ylimY-axis limits for a plot of a proportion
reconcileSpeciesParamsReconcile the species parameters with the given species...
recordExtensionRecord an extension and its version stamp on a mizer object
record_given_species_paramsRecord the species parameters that have changed
reexportsObjects exported from other packages
relative_differenceSymmetric relative difference between two values
removeBackgroundSpeciesRemove all background species
removeSpeciesRemove species
renameGearRename gears
renameSpeciesRename species
repair_paramsRepair a MizerParams object
report_scan_convergenceReport the scan values that did not settle on a fixed point
resolve_array_typeResolve the type of a mizer array
resolve_cdf_powerResolve the power of weight for a cumulative distribution
resolve_second_order_wResolve a 'second_order_w' value against the default scheme
resolve_spectrum_powerResolve the power of weight multiplying a spectrum
resource_constantKeep resource abundance constant
resource_length_defaultsDefault weight-length parameters for the resource
resource_length_paramsThe weight-length parameters of the resource
resource_logisticProject resource using logistic model
resource_paramsResource parameters
resource_power_lawConstruct the background resource power-law spectrum
resource_semichemostatProject resource using semichemostat model
RickerRDDRicker function to calculate density-dependent reproduction...
runExtensionUpgradesRun the registered extension upgrade methods on an object
saveParamsSave and restore mizer objects
scaleModelChange scale of the model
scaleRatesRescale all rates in a mizer model
scanEffortSetters for scanning a model
scan_gear_installedHas a fishing-mortality scan already been installed in this...
scanModelScan a model over a range of values
scan_plot_paramsThe params object to use when plotting a MizerScan
scan_x_varThe x and y variables of a MizerScan
scan_y_labelAxis labels for a MizerScan
second_order_wGet or set the second_order_w flags
select_gear_rowsThe gear params rows whose fishing mortality is to be varied
select_scan_seriesPick out some of the series of a scan
setBevertonHoltSet Beverton-Holt reproduction without changing the steady...
setColoursSet line colours and line types to be used in mizer plots
set_community_modelDeprecated function for setting up parameters for a...
setComponentAdd a dynamical ecosystem component
setExtDiffusionSet external diffusion rate
setExtEncounterSet external encounter rate
setExtMortSet external mortality rate
setFishingSet fishing parameters
setInitialValuesSet initial values to values from a simulation
setInteractionSet species interaction matrix
setMaxIntakeRateSet maximum intake rate
setMetabolicRateSet metabolic rate
setMetadataSet metadata for a model
set_multispecies_modelDeprecated obsolete function for setting up multispecies...
setParamsSet or change any model parameters
setPredKernelSet predation kernel
setRateFunctionSet own rate function to replace mizer rate function
setReproductionSet reproduction parameters
setResourceSet resource dynamics
setRmaxAlias for 'setBevertonHolt()'
set_scan_maximumRecord where each series attains its maximum
setSearchVolumeSet search volume
set_species_param_defaultSet a species parameter to a default value
set_trait_modelDeprecated function for setting up parameters for a...
SheperdRDDSheperd function to calculate density-dependent reproduction...
sigmoid_lengthLength based sigmoid selectivity function
sigmoid_weightWeight based sigmoidal selectivity function
signal_defaulted_length_weightReport a selectivity built from a defaulted weight-length...
signal_frozenSignal that a change the user made cannot take effect
signal_frozen_changesSignal the changes to species parameters that cannot take...
signal_gear_params_changesSignal a gear parameter changed through the given species...
signal_ignored_changesSignal the changes that are ignored because another parameter...
signal_infoSignal information about a choice mizer made
signal_not_recalculatedSignal that a rate array was not recalculated because it is...
signal_removed_species_paramsSignal that species parameter columns have been removed
simExtensionClassDerive the MizerSim extension class name for a given...
sim_size_rateBuild a 'MizerSim' rate getter that resolves the rate...
sim_species_rateBuild a 'MizerSim' rate getter that resolves the rate...
size_dim_labelsIdentify the dimensions of an array over the size grid
sizeIntegralIntegrate a quantity over the size spectrum
slotS4/S3 compatibility slot access helper
slotNamesS4/S3 compatibility slotNames helper
slot-setS4/S3 compatibility slot assignment helper
species_paramsSpecies parameters
species_size_range_maskWhich size classes lie inside each species' own size range
spectra_bin_widthLook up the size-bin widths for spectra data
spectra_y_labelY-axis label for a size-spectrum plot
spectrum_density_wrtThe density measure of a 'power'-based spectrum
steadySingleSpeciesSet initial abundances to solution of steady-state equation...
strDisplay the structure of mizer objects
summarySummarise mizer objects
summary_functionsDescription of summary functions
superseded_accessorsSuperseded 'get'-prefixed aliases for values stored in a...
superseded_steadySuperseded names for the steady-state finders
sweep_armsThe order in which to project the scan values
total_contributorsAssemble the contributors to the total of a species-by-size...
trapezoidal_bin_averageTrapezoidal bin-average of a per-bin weight
truncated_lognormal_pred_kernelTruncated lognormal predation kernel
tuneSteadyStateTune a model so that the state it is in becomes a steady...
upgrade.MizerParamsUpgrade the core slots of a MizerParams object
upgrade.MizerSimUpgrade a MizerSim object from earlier versions
upgradeParamsBack-compatible wrapper for the core MizerParams upgrade
upgrade_s4_to_s3Convert an S4 MizerParams or MizerSim object to an S3 object
upgradeSimBack-compatible wrapper for the MizerSim upgrade
use_predation_diffusionGet or set the use_predation_diffusion flag
validate_array_typeValidate the type of a mizer array
validate_density_wrtValidate a density measure
validateExtensionsVectorValidate and normalise an extensions named character vector
validate_second_order_wApply a 'second_order_w' value to the current slot list
validation_keyFingerprint of the slots that determine the outcome of the...
validEffortVectorMake a valid effort vector
validGearParamsCheck validity of gear parameters and set defaults
valid_gears_argHelper function to assure validity of gears argument
validObjectValidity checker compatibility helper
validParamsValidate MizerParams object and upgrade if necessary
validSimValidate MizerSim object and upgrade if necessary
valid_species_argHelper function to assure validity of species argument
validSpeciesParamsValidate species parameter data frame
wSize bins
with_info_levelCollect and report the information signals raised while...
mizer documentation built on Aug. 31, 2026, 5:08 p.m.