Learn R Programming

gofMC (version 1.1.2)

fitEquiv: Fit Equivalent

Description

Rescales the fit value to distance to the threshold

Usage

fitEquiv(measured_value, dof, pct = 0.95, ndecimals = 2, fitmetric = R2, trend = NULL, ...)

Arguments

measured_value
a real number
dof
an integer
pct
a real number between 0 and 1
ndecimals
an integer
fitmetric
a character string naming a standard fit metric (R2, rmse, or user-defined function)
trend
a character string "Increasing", "Decreasing", "Flat", "Uncertain" which describes the general slope of the fitmetric function.
...
any argument that functions within this routine might use

Value

a real number

Examples

Run this code
fitEquiv(0.8, 6)
fitEquiv(0.1, dof=8, fitmetric=rmse)

Run the code above in your browser using DataLab