Learn R Programming

scmamp (version 0.2.55)

plotDensities: Kernel based density estimation of the samples

Description

This function estimates and plots the densities of the results of each algorithm

Usage

plotDensities(data, ...)

Arguments

data
A matrix where columns represent the algorithms
...
The plot is created using ggplot2. This special parameter can be used to pass additional parameters to the geom_line function used to plot the sample points. It can also be used to pass additional arguments to the density function, which is used to eastimate the densities.

Value

A ggplot object.

See Also

qqplotGaussian

Examples

Run this code
data(data_gh_2010)
plotDensities(data.gh.2010)

Run the code above in your browser using DataLab