# create an example
params <- NS_params
species_params(params)$yield_observed <-
c(0.8, 61, 12, 35, 1.6, NA, 10, 7.6, 135, 60, 30, NA)
params <- calibrateYield(params)
# Plot with default options
plotYieldObservedVsModel(params)
# Plot including also species without observations
plotYieldObservedVsModel(params, show_unobserved = TRUE)
# Show the ratio instead
plotYieldObservedVsModel(params, ratio = TRUE)
Run the code above in your browser using DataLab