dPlot: Density Plot

View source: R/densityPlot.R

dPlotR Documentation

Density Plot

Description

Create a plot showing the densities of values in columns of a data frame

Usage

dPlot(x, title = "", xlab = "score", ylab = "Frequency", ymax = 0, xmin = NULL)

Arguments

x

data.frame object where the density of columnar values will be plotted

title

Character indicating plot title

xlab

Character indicating the x-axis label. Default is 'score'

ylab

Character indicating the y-axis label. Default is 'Frequency'

ymax

Numeric value indicating the maximum y-value. If values are potentially greater than ymax, ymax will be adjusted to relfect the new maximum (rounded to 6 decimal points).

xmin

Numeric value indicating the minimum x-value. Default is NULL, meaning the x-axis limits will range from the negative maximum absolute x-value to the positive maximum absolue x-value.

Value

A plot with filled densities for each column.


kevincjnixon/BinfTools documentation built on July 10, 2024, 11:46 a.m.