tests/testthat/_snaps/indicator_functions.md

getProportionOfLargeFish works

Code
  prop
Output
           0        0.5          1        1.5          2 
  0.03580748 0.01696207 0.04329163 0.11685598 0.16671866

getMeanWeight works

Code
  mw
Output
          0       0.5         1       1.5         2 
  100.45567  42.70443  44.76858  57.97524  70.01602

getMeanLength works

Code
  ml
Output
         0      0.5        1      1.5        2 
  12.56335 11.06810 11.13484 11.76676 12.18632

getMeanMaxWeight works

Code
  getMeanMaxWeight(sim, measure = "both")
Output
    mmw_numbers mmw_biomass
  0    79.05052    8388.120
  1   349.64633    1138.046
  2   411.54703    4948.873

getCommunitySlope works

Code
  slope_b3
Output
         slope intercept        r2
  0 -0.3824022  11.11382 0.6259507
  1 -1.1299521  20.79805 0.7426542
  2 -0.6991753  23.05601 0.4780009


Try the mizer package in your browser

Any scripts or data that you put into this service are public.

mizer documentation built on Aug. 31, 2026, 5:08 p.m.