quadtrafo {klaR} | R Documentation |
Transforming of 4 dimensional values in a barycentric coordinate system.
Description
Transforming of 4 dimensional values in a barycentric coordinate system.
Usage
quadtrafo(e, f = NULL, g = NULL, h = NULL)
quadlines(e, f = NULL, g = NULL, h = NULL, sp, ...)
quadpoints(e, f = NULL, g = NULL, h = NULL, sp, ...)
Arguments
e |
either a matrix with 4 columns represanting the membership values or a vector with the membership values of the first class |
f |
vector with the membership values of the second class |
g |
vector with the membership values of the third class |
h |
vector with the membership values of the forth class |
sp |
|
... |
further arguments passed to the underlyind |
Value
For quadtrafo
the 3 dimensional values in the barycentrix coordinate system.
Author(s)
Karsten Luebke, karsten.luebke@fom.de
See Also
Examples
library(MASS)
data(B3)
posterior <- predict(lda(PHASEN ~ ., data = B3))$post
quadtrafo(posterior)
[Package klaR version 1.7-3 Index]