TwoSpamH.plot: Visualize the 2SpamH algorithm

View source: R/TwoSpamH.plot.R

TwoSpamH.plotR Documentation

Visualize the 2SpamH algorithm

Description

This function visualizes the 2SpamH algorithm.

Usage

TwoSpamH.plot(
  TwoSpamH.output,
  to.plot = c(1, 2),
  xlab = "PC 1",
  ylab = "PC 2",
  title = "Validity Distribition in the Constructed Feature Space",
  variable = "Filtered Variable"
)

Arguments

TwoSpamH.output

The output from the function TwoSpamH when the plot.data is set to TRUE

to.plot

A length 2 vector that indicates which principle components are to be plotted

xlab

The label for x axis

ylab

The label for y axis

title

The plot title

Value

A ggplot object that visualize the algorithm's reduced feature space.


jihuilee/TwoSpamH documentation built on March 11, 2023, 7:29 a.m.