Learn R Programming

errint (version 1.0)

measure.default: Measure

Description

measure creates an object of class c("measure", "list").

Usage

"measure"(s, acc, f = function(x, y) { abs(x - y) })

Arguments

s
confidence level, e,g. s=0.05 for the standard 95 percent confidence interval.
acc
accuracy achieved by error intervals.
f
function used to compute error of intervals. See also 'Details'.

Value

Returns an object of class c("measure","list") with information regarding the error of a set of intervals.

References

Link to the scientific paper

Prada, Jesus, and Jose Ramon Dorronsoro. "SVRs and Uncertainty Estimates in Wind Energy Prediction." Advances in Computational Intelligence. Springer International Publishing, 2015. 564-577,

with theoretical background for this package is provided below.

http://link.springer.com/chapter/10.1007/978-3-319-19222-2_47

Examples

Run this code
measure(0.1,0.7)

measure(0.1,0.7,function(x,y){y-x})

Run the code above in your browser using DataLab