plotGoodnessOfFit: Compare Fitted Curve to Raw Data

Description Usage Arguments Details

View source: R/Postprocess.R

Description

Plots raw data with a fitted curve overlayed so that the user can judge the quality of the fit.

Usage

1
plotGoodnessOfFit(dfPlotData, lCurveParameters, lPlotSetup)

Arguments

dfPlotData

data frame. Contains raw data to plot.

lCurveParameters

list containing the parameters for the curves. Any values containing NA will be silently dropped.

lPlotSetup

list containing the following named items:

fFitFunction

string. Contains the name of a magic formula such as FYPurePacejka2002.

iDataPointsPlot

integer. Number of raw data points to plot.

sInCol

Name of the column of raw data that will be plotted on the x axis.

sOutCol

Name of the column of raw data that will be plotted on the y axis.

sSweep

Name of one column of raw data, as well as an argument in the magic formula that will be swept through a range of values.

lConst

Named list of inputs to the magic formulas that will be kept constant. Such as list(IA = 0)

xlab

x axis label

ylab

y axis label

Details

UNTESTED OUTSIDE OF 'fitTires' function!


fsaer/tirefittingr documentation built on May 15, 2020, 9:31 a.m.