smooth_hist: Smooth Histogram

Description Usage Arguments Value

Description

a smooth histogram with unit indicator. The advantage is interpretability. If input is a matrix, curves are plotted together.

Usage

1
2
smooth_hist(z, unit, bw = "nrd0", n, from, to, plotHist = FALSE,
  add = FALSE, xlab, ylab = "Frequency", xlim, ylim, main)

Arguments

z

the data

unit

the unit which determines the y axis scaling and is drawn

bw

arguments to density

n

arguments to density

from

arguments to density

to

arguments to density

plotHist

a logical: should an actual histogram be drawn under curve?

add

a logical: add should the curve be added to existing plot?

xlab

x-axis title, defaults to no title

ylab

y-axis title, defaults to no title

xlim

range of the x-axis

ylim

range of the y-axis

main

an overall title for the plot

Value

Function


ssarda/genomeutils documentation built on May 30, 2019, 8:42 a.m.