hyperoverlap_lda: Hyperoverlap visualisation using linear discriminant analysis...

Description Usage Arguments Details Value See Also Examples

Description

Hyperoverlap visualisation using linear discriminant analysis (LDA)

Usage

1
hyperoverlap_lda(x, return.plot=TRUE, visualise3d=FALSE, showlegend=TRUE)

Arguments

x

An hyperoverlap-class object.

return.plot

Logical. If TRUE, data are plotted using plot().

visualise3d

Logical. If FALSE, data are projected onto two axes (LDA1, residualPCA1). If TRUE, data are projected onto three axes (LDA1, residualPCA1, residualPCA2)

showlegend

Logical. Used for 3D plots.

Details

This function provides a way to visualise overlap (or non-overlap) between classes of high dimensional data. For inspection, it is useful to use the base graphics package (implemented by return.plot=TRUE). The transformed coordinates of each point are also returned as a dataframe, which can be plotted with user-defined parameters.

Value

Returns a dataframe with columns "Entity", "LDA1", "residualPCA1", "residualPCA2" (if visualise3d = TRUE)

See Also

hyperoverlap_detect

Examples

1
2
3
4
#using iris dataset reduced to two species
data = iris[which(iris$Species!=("versicolor")),]
x = hyperoverlap_detect(data[1:4], data$Species)
hyperoverlap_lda(x)

hyperoverlap documentation built on Aug. 10, 2021, 9:07 a.m.