Learn R Programming

gofMC (version 1.1.2)

plotConstValue: Plot Fit Equivalent and Constant Value

Description

Plots the Fit Equivalent with Constant Measured Value

Usage

plotConstValue(measured_value, doflist = c(2:30), pct = 0.95, order = 4, ndecimals = 2, fitmetric = R2, ...)

Arguments

measured_value
a real number, the actual measured value
doflist
a vector of integers for the degrees of freedom
pct
a real number between 0 and 1, acceptable minimum level of noise
order
a real number
ndecimals
an integer
fitmetric
a character string naming a standard fit metric (R2, rmse, or user)
...
any argument that functions within this routine might use

Value

ggplot object

Examples

Run this code
plotConstValue(0.8, doflist=c(2:10),order=3)
plotConstValue(0.1, doflist=c(2:10),order=3,fitmetric=rmse)

Run the code above in your browser using DataLab