priorppt.plot: Plot method for prior projected Polya tree

Description Usage Arguments Value See Also Examples

View source: R/pptprior.plot.R

Description

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

Usage

1
2
3
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 atomic vector 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

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

PPTcirc documentation built on Sept. 28, 2021, 5:11 p.m.