plotDensity: Plot Density Functions

Description Usage Arguments Value Author(s)

Description

Estimates and displays the density function(s) for the specified parameter(s).

Usage

1
2
plotDensity(haplo.object, all = TRUE, name.var = " ", 
            keep.rares.density = FALSE)

Arguments

haplo.object

An object of class reg or freq.

all

Logical.The default value TRUE implies to plot the density function for all the parameters in the haplo.object. If FALSE, the vector of names of the desired parameters to plot must be specified in name.var.

name.var

If all=FALSE, this must be a vector containing the names of the chosen parameters to plot their density.

keep.rares.density

Logical. Indicates if the density for rare category must be plotted.

Value

Graphs of density function.

Author(s)

Original version by Brian J. Smith.

Adapted version by Raquel Iniesta riniesta@pssjd.org


BayHap documentation built on May 2, 2019, 12:44 a.m.