priorppt.plot {PPTcirc} | R 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 |
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 |
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
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")