Learn R Programming

clusEvol (version 1.0.0)

plot.clusEvol: Plot output results from clusEvol

Description

Plot density or empirical cumulative distribution from Bvals in clusEvol output.

Usage

# S3 method for clusEvol
plot(x,target,type = "heat",plotly=FALSE,...)

Value

Produces a plot. No values are returned.

Arguments

x

an object of the class "clusEvol"

target

Numeric; 1 if density, 2 if ecdf plot is returned

type

Character; heat (default), line, boxplot are the options

plotly

Logical; if FALSE, a ggplotly plot is returned

...

other arguments to be passed to the function ggplot

Details

This function plots outputs from clusEvol taking into account its panel data structure.

See Also

clusEvol for procedure and examples.