plot.pairs2D: Plot SkyEx pairs 2D

Description Usage Arguments

View source: R/packagetest.R

Description

Two dimentional plotting of the pairs and marking the true positives (TP), true negative (TN), false positives (FP), and false negatives (FN).

Usage

1
2
3
4
## S3 method for class 'pairs2D'
plot(data, sim1, sim2, prediction, labels, posclass,
  colTP, colTN, colFP, colFN, legend, leg.x, leg.y, leg.font, title, xlab,
  ylab)

Arguments

data

A dataframe of pairs

sim1

Name of the column in the x axis

sim2

Name of the column in the y axis

prediction

A vector of the predicted classes

labels

A vector of the actual labels

posclass

How the positive class is expressed (e.g. posclass=1)

colTP

Color of the true positives

colTN

Color of the true negatives

colFP

Color of the false positives

colFN

Color of the false negatives

legend

A boolean argument if the legend should be present or not (e.g. legend=TRUE)

leg.x

The x coordinate of the legend

leg.y

The y coordinate of the legend

leg.font

The font size of the legend

title

The title of the plot

xlab

Naming the x-axis

ylab

Naming the y-axis


suelai/skyex documentation built on Dec. 1, 2019, 9:54 p.m.