Import a BirdFlow model, calculate flux, and save to an RDS file
process_flux.Rdprocess_flux() is a wrapper to BirdFlowR::calc_flux() that handles reading the input
model and writing the resulting flux to disk.
Arguments
- model_path
Path to a BirdFlow model file, either an HDF5 to be read with
BirdFlowR::import_birdflow()or and RDS handled byreadRDS().- flux_path
The path to and RDS file (ending in
".rds") to write the result to.