Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

quadtrafo

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

scatterplot3d object to which points or lines should be plotted

...

further arguments passed to the underlyind plot functions

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)

klaR

Classification and Visualization

v0.6-15
GPL-2 | GPL-3
Authors
Christian Roever, Nils Raabe, Karsten Luebke, Uwe Ligges, Gero Szepannek, Marc Zentgraf, David Meyer
Initial release
2020-02-18

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.