opmetrics: opmetrics

View source: R/opmetrics.R

opmetricsR Documentation

opmetrics

Description

opmetrics

Usage

opmetrics(o, p, s, plot = FALSE, residuals = FALSE)

Arguments

o

the vector with the observed values

p

the vector with the predicted values

s

significant digits empty: return all values. number 1 to 6: will return the desired significant digits. "std1": will return number as character in a predefined format.

plot

plot observed against predicted value in ggplot.

residuals

if TRUE together with plot, it plots the residuals on the y axis against the predicted values in ggplot.

Value

a data frame with different parameters to evaluate the predicted


giuliogiagnoni/modRMSE documentation built on Oct. 3, 2023, 3:29 p.m.