Learn R Programming

gofMC (version 1.1.2)

plotConstNoise: Plot Measured Value with Constant Noise

Description

Plots the Fit Equivalent

Usage

plotConstNoise(measured_value, dof, doflist = c(2:30), pct = 0.95, order = 4, add_mvp = F, fitmetric = R2, ...)

Arguments

measured_value
a real number within the range of fitmetric
dof
an integer, degrees of freedom
doflist
a vector of integers identifying the range of degrees of freedom to plot over
pct
a real number between 0 and 1, minimum acceptable level of noise
order
a real number
add_mvp
a logical value indicating whether to include or not the fitEquive placed at each dof.
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
plotConstNoise(0.8, 5, doflist=c(2:10),order=3)
plotConstNoise(0.1, 5, doflist=c(2:10),order=3,fitmetric=rmse)

Run the code above in your browser using DataLab