
Summary Method for Bioenergetic Objects
Source:R/13.1-bioenergetic-methods.R
summary.Bioenergetic.RdPrints a detailed multi-section summary of a Bioenergetic object,
covering species identity, parameter categories, environmental data
statistics, diet composition, simulation settings, and overall readiness
status. Complements print.Bioenergetic, which shows the compact
single-page view.
Usage
# S3 method for class 'Bioenergetic'
summary(object, ...)Examples
# \donttest{
data(fish4_parameters)
sp <- fish4_parameters[["Oncorhynchus tshawytscha"]]$life_stages$adult
info <- fish4_parameters[["Oncorhynchus tshawytscha"]]$species_info
bio <- Bioenergetic(
species_params = sp,
species_info = info,
environmental_data = list(
temperature = data.frame(Day = 1:30, Temperature = rep(12, 30))
),
diet_data = list(
proportions = data.frame(Day = 1:30, Prey1 = 1.0),
energies = data.frame(Day = 1:30, Prey1 = 5000),
prey_names = "Prey1"
),
simulation_settings = list(initial_weight = 100, duration = 30)
)
#> Bioenergetic object created for: Oncorhynchus tshawytscha
summary(bio)
#> FB4 Bioenergetic Model - Detailed Summary
#> =============================================
#> SPECIES:
#> Scientific: Oncorhynchus tshawytscha
#> Common: Chinook salmon (adult)
#>
#> PARAMETERS:
#> Consumption (9):
#> CA = 0.303
#> CB = -0.275
#> CQ = 5
#> CTO = 15
#> CTM = 20.9
#> ... (4 more)
#> Respiration (10):
#> RA = 0.00264
#> RB = -0.217
#> RQ = 0.06818
#> RTO = 0.0234
#> RTM = 0
#> ... (5 more)
#> Activity (2):
#> ACT = 9.7
#> BACT = 0.0405
#> Sda (1):
#> SDA = 0.172
#> Egestion (4):
#> FA = 0.212
#> FB = -0.222
#> FG = 0.631
#> ... (1 more)
#> Excretion (4):
#> UA = 0.0314
#> UB = 0.58
#> UG = -0.299
#> ... (1 more)
#> Predator (9):
#> PREDEDEQ = 1
#> ED_data = NA
#> ED_ini = NA
#> ... (6 more)
#> Source (1):
#> ... (1 more)
#> Notes (1):
#> ... (1 more)
#>
#> ENVIRONMENT:
#> Temperature: 12°C (mean)
#> Range: 12 - 12°C
#> Duration: 30 days (1 to 30)
#>
#> DIET:
#> Prey species: 1
#> Coverage: 30 days
#> Main prey:
#> 1. Prey1: 100%
#> Energy density: 5000 - 5000 J/g
#>
#> SIMULATION:
#> Initial Weight: 100 g
#> Duration: 30 days
#>
#> STATUS: Ready: 4 /4 components - Ready for fitting!
# }