ObjFct2Text {ModelDataComp} | R Documentation |
Converts an object of class ObjFct
to text string.
ObjFct2Text(x, which = c("Cor", "RMSE", "MEF"), sep = ", ", digits = 2)
x |
an object of class |
which |
which objective function metrics should be written as text? |
sep |
separation between metrics |
digits |
digits for rounding |
Converts an object of class 'ObjFct' to text string.
Matthias Forkel <matthias.forkel@geo.tuwien.ac.at> [aut, cre]
No reference.
obs <- rnorm(100) # "observations" sim <- obs + rnorm(100, 0, 0.8) # simulation of <- ObjFct(sim, obs) of # convert objective functions to text: ObjFct2Text(of) ObjFct2Text(of, which="KGE") ObjFct2Text(of, which=c("R2", "MEF", "KGE"), sep=" ")