ggsplom: SCatterplot Matrix with ggplot2

Description Usage Arguments Examples

Description

function for making scatterplots in the lower triangle and diagonal density plots.

Usage

1
2
3
ggsplom(data, columns = 1:ncol(data), color = NULL, alpha = 0.7,
  point_size = 0.9, rug = TRUE, rug.color = "white",
  line.color = "red", point.color = "#00DDFF")

Arguments

data

a data matrix. Should contain numerical (continuous) data.

columns

an option to choose the column to be used in the raw dataset. Defaults to 1:ncol(data)

color

an option to group the dataset by the factor variable and color them by different colors. Defaults to NULL

alpha

an option to set the transparency in scatterplots for large data. Defaults to 1.

point_size

The size of the scatterplot points

rug

Whether a rug of data points should be plotted in margins. Default is TRUE.

rug.color

Color of data rug

line.color

Color of density lines. Ignored if color = TRUE since that generates its own assortment of colors.

point.color

Color of points. Ignored if color = TRUE since that generates its own assortment of colors.

Examples

1

abnormally-distributed/abdisttools documentation built on May 5, 2019, 7:07 a.m.