Learn R Programming

WindCurves (version 0.2)

validate.curve: A Validate.curve function

Description

Compares the performance of curve fitting techniques fitted in fitcurve() function

Usage

validate.curve(x, MethodPath, MethodName)

Arguments

x

is object returned by fitcurve() function

MethodPath

as path of a code for user defined error measure technique

MethodName

as name of the user defined error measure technique

Value

A comparison matrix in terms of various error measures.

Examples

Run this code
# NOT RUN {
s <- pcurves$Speed
p <- pcurves$`Nordex N90`
da <- data.frame(s,p)
x <- fitcurve(da)
validate.curve(x)
# }

Run the code above in your browser using DataLab