View source: R/13.1-bioenergetic-methods.R
| summary.Bioenergetic | R Documentation |
Prints 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.
## S3 method for class 'Bioenergetic'
summary(object, ...)
object |
Bioenergetic object |
... |
Additional arguments (not used) |
Invisibly returns the input object
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)
)
summary(bio)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.