vector_errors: Calculate error vectors

View source: R/statistics.R

vector_errorsR Documentation

Calculate error vectors

Description

Given vectors x and y of the same length, compute various forms of error between the two.

Usage

vector_errors(x, y)

Arguments

x

Numeric vector of data.

y

Numeric vector of data to compare to x, same length.

Value

Dataframe with columns representing error for each point. Types of error include: error, magnitude of error, percent error, magnitude of percent error, error of logged values, and magnitude of error of logged values.


BIO-RSG/oceancolouR documentation built on April 30, 2024, 7:54 a.m.