dyn.profile: Draws a list of densities according to an index of color.

Description Usage Arguments Value Examples

View source: R/plot_dyn_profile.R

Description

Draws a list of densities according to an index of color.

Usage

1
2
dyn.profile(ld, colors = c("white", "darkblue"), ncolors = 100,
  nstripes = 1000, xpos = NULL, ylim = NULL, ...)

Arguments

ld

A list of density functions

colors

The colors to use to construct the ramp, default is c("white", "darkblue")

ncolors

(integer) The number of gradual colors of the ramp, default is 100

nstripes

(integer) The number of horizontal stripes to plot per experiment, default is 1000

xpos

A vector of positions on the x-axis to plot each experiment.

...

Additional arguments to pass to the plot() function

Value

A plot of a serie of density profiles according to an index of color

Examples

1
2
3
4
5
6
7
ld = list(density(x=1:1000), density(x=1:100), density(x=1:10))
ylim = range(d$x)
xlim = c(0,1)
nstripes = 1000
colors = c("white", "darkblue"),
ncolors = 100
dyn.profile (ld)

magrichard/facsticor documentation built on May 17, 2019, 8:16 a.m.