[R] How to plot hyperbolic iso-lines of a cost function?
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Fri Jun 12 11:34:11 CEST 2009
Hi R-specialists!
I would like to draw some hyperbolic (iso-)lines of a cost function in a
bi-dimensional space ( =shapes of a cost function ), based on (the
general form):
C(x) = c1*Ce + c2*Oe + c3*{ 1 - [ (1 - Ce)^a * (1 - Oe)^b ] }
where:
- Oe/Ce are Omission/Commission (ranging between 0 and 1 ) values in a
bi-dimensional space ( see example of Oe/Ce values [1])
- c1, c2, c3, a and b are some parameters which determine "sensitivity"
of the function
Is there a ready-to-use plotting - function?
Kind regards, Nikos
---
[1] Omission/ Commission errors
0.00000000 0.42497404
0.01012416 0.35377707
0.03150321 0.30218908
0.06158611 0.26031315
0.10188418 0.21955793
0.15558828 0.17899955
0.22511156 0.14204273
0.31663164 0.10425152
0.42728035 0.06922038
0.58420896 0.03561727
0.90368397 0.00000000
More information about the R-help
mailing list