#library(knitr)
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Purpose

To show the user how to add a new suite of metrics and scoring thresholds to allow for index calculation with the metric.score function.

Resources Needed

The user will need the documentation for the intended index and preferably a test data set (typically in the documentation for the index).

Steps

  1. Add to MetricScores.xlsx (metrics and index).

  2. Create testthat example for metric values and metric/index scores.



leppott/BioMonTools documentation built on March 1, 2025, 7:18 a.m.