priorppt.plot: Plot method for prior projected Polya tree

View source: R/pptprior.plot.R

priorppt.plotR Documentation

Plot method for prior projected Polya tree

Description

Plots density paths of simulated prior projected Polya tree, mean direction and concentration.

Usage

priorppt.plot(priorppt.circ, n.path="all",
plot.type = c("circle", "line", "summary"),control.circular = list(),
shrink=1, tol = 0.04,ylim)

Arguments

priorppt.circ

object returned by dsimpriorppt function.

n.path

"all" plots all the simulated paths or numeric parameter indicates the simulation path of the priorppt.circ object that will be plot.

plot.type

type of plot to be drawn: "circle" for circular plot, "line" for linear plot and "summary" for boxplot of mean direction and concentration.

control.circular

attributes of circular object in order to draw the circle.See circular.

shrink

parameter that controls the size of the plotted circle. Default is 1. Larger values shrink the circle, while smaller values enlarge the circle.

tol

proportion of white space at the margins of plot.

ylim

range to be encompassed by "y" axis.

Value

Circular plot of simulated paths when plot.type = "circle". Linear plot of simulated paths for plot.type = "line". Boxplot of mean direction and concentration for plot.type = "summary"

See Also

plot, plot.density.circular

Examples

z <- dsimpriorppt(mu = c(0,1), nsim = 5, units = "degrees")
priorppt.plot(z, plot.type = "circle",shrink =0.5, tol = 4)
priorppt.plot(z, plot.type = "line")
priorppt.plot(z, plot.type = "summary")


PPTcirc documentation built on Aug. 30, 2022, 9:06 a.m.