Description Usage Arguments Details Value See Also Examples

Hyperoverlap visualisation using linear discriminant analysis (LDA)

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

`x` |
An |

`return.plot` |
Logical. If TRUE, data are plotted using |

`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. |

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.

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

)

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)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.