Learn R Programming

fb4package (version 2.0.0)

validate_data_consistency: Validate data consistency between components

Description

Checks cross-component consistency within processed simulation data.

Usage

validate_data_consistency(simulation_data, n_prey_temporal)

Value

Invisibly returns TRUE if all cross-component consistency checks pass. Throws an error with a descriptive message when optional contaminant or nutrient concentration matrices are present but their number of columns does not match the number of prey species (n_prey_temporal).

Arguments

simulation_data

Complete simulation data

n_prey_temporal

Number of prey species in temporal data