Description Usage Arguments Value Author(s) References Examples
measure
creates an object of class
c("measure", "list")
.
as.measure
attempts to coerce its argument x
into an
object of class c("measure", class(x))
. If this is not possible
x
is returned unchanged.
is.measure
returns TRUE if x is an R object with
"measure"
as one of its classes. It returns FALSE otherwise.
1 2 3 4 5 | measure(s, acc, f = function(x, y) { abs(x - y) })
as.measure(x)
is.measure(x)
|
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'. |
x |
an R object. |
measure
returns an object of class c("measure","list")
with information regarding the error of a set of intervals.
as.measure
returns an object of class
c("measure",class(x))
with information contained in x if possible.
Returns x otherwise.
is.measure
returns TRUE if x is an R object with
"measure"
as one of its classes. FALSE otherwise.
Jesus Prada, jesus.prada@estudiante.uam.es
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | measure(0.1,0.7)
measure(0.1,0.7,function(x,y){y-x})
l<-list(s=0.1,acc=0.78,f=function(x,y){abs(x-y)},err=0.02)
as.measure(l)
v<-c("a","b")
as.measure(v)
l<-list(s=0.1,acc=0.78,f=function(x,y){abs(x-y)},err=0.02)
is.measure(l)
res<-as.measure(l)
is.measure(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.