densplot: 2 dimension plot with density

Description Usage Arguments Value Examples

Description

Draw a 2 dimensions plot with density graph on each axis

Usage

1
2
densplot(Data, x, y, group = NULL, color = "black", alpha = 0.5,
  labels = list(title = "", x = "", y = ""), ShowPlot = T)

Arguments

Data

Long format data to plot

x

Column name for x values as string

y

Column name for x values as string

group

Column name for grouping factor as string

color

Point color (default is "black")

alpha

alpha value of point (default is 0.5)

labels

List for labels with (title, x, y)

ShowPlot

Logical to directly draw the plot or return the grobs (faster)

Value

a ggplot

Examples

1

Mystilivia/SDjoygret documentation built on May 7, 2019, 5:17 p.m.