Learn R Programming

telescope (version 0.2-1)

plotScatter: Pairwise scatter plots of the data.

Description

Scatter plots of the observations are plotted by selecting pairs of dimensions, potentially colored by a known classification.

Usage

plotScatter(x, z, label = "", trim = 0)

Value

NULL

Arguments

x

A matrix or data.frame; the data consisting of metric variables.

z

A vector; indicating the color to use for the observations.

label

A character string; the text to include in the axes labels.

trim

A scalar numeric in \([0, 0.5)\); trimming to use for quantiles to determine axes.

Examples

Run this code
plotScatter(iris[, 1:4], iris$Species, label = "dim")

Run the code above in your browser using DataLab