compare_behaviors_nrmse: Compare the behavior of two reactions

View source: R/analysis.R

compare_behaviors_nrmseR Documentation

Compare the behavior of two reactions

Description

Use this function to compare the behavior of two reactions to see the similarity between them for each species. The normalized root-mean-square error (NRMSE) measure (nrmse()) is used to make this comparison.

Usage

compare_behaviors_nrmse(bhv_sim, bhv_obs)

Arguments

bhv_sim

The simulated behavior.

bhv_obs

The observed behavior (used in the normalization).

Details

For convention, one of the behaviors is called simulated behavior, and the other one is called observed behavior. This differentiation is important because the order that you pass the behaviors impacts in the result.

The normalization made by the NRMSE uses the observed values (bhv_obs parameter) only, consequently, compare_behaviors_nrmse(data1, data2) results in different measures than compare_behaviors_nrmse(data2, data1).

Value

A data frame with the same columns of the behaviors and one row. Each value is the NRMSE of that species.


DanielKneipp/DNAr documentation built on Jan. 7, 2023, 12:42 p.m.