get_mape: Extract a Period- and Variable-specific MAPE value

View source: R/utils.R

get_mapeR Documentation

Extract a Period- and Variable-specific MAPE value

Description

Extract a Period- and Variable-specific MAPE value

Usage

get_mape(response, period)

Arguments

response

Character; one of "effort", "total_cpt", "chinook_comp", "chum_comp", "sockeye_comp", "chinook_harv", "chum_harv", or "sockeye_harv"

period

One of 1, 2, 3, or "all". Numbers may be supplied as either numeric or character classes.

Note

Queries the KuskoHarvPred:::loo_output$error_summary table for the correct value. The value is on the proportional error scale. That object is created by whole_loo_analysis().


bstaton1/KuskoHarvPred documentation built on Aug. 15, 2024, 3:30 p.m.