postppt.plot | R Documentation |

Plots posterior projected Polya tree estimates.

postppt.plot(postppt.circ, plot.type = c("circle", "line", "summary", "a.sim", "mu.sim", "cpos"), interval = TRUE, control.circular = list(), shrink = 1, tol = 0.04,sep = 0.025, ylim = NULL, xlim = NULL, breaks = 12)

`postppt.circ` |
object returned by the |

`plot.type` |
type of plot to be drawn: "circle" for circular plot, "line" for linear plot, "summary" for boxplot of mean direction and concentration, "cpos" for cpos scatter plot, "a.sim" for summary plots of simulated alphas and "mu.sim" for summary plots of simulated mu1 and mu2. |

`interval` |
logical. If TRUE 95% credible intervals will be shown in the circular and linear plots. |

`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. |

`sep` |
constant used to specify the distance between stacked points. Default is 0.025;smaller values will create smaller spaces |

`ylim` |
range to be encompassed by "y" axis. |

`xlim` |
range to be encompassed by "x" axis. |

`breaks` |
one of: a vector giving the breakpoints between histogram cells, a function to compute the vector of breakpoints, a single number giving the number of cells for the histogram, a character string naming an algorithm to compute the number of cells, a function to compute the number of cells. |

plot, `plot.density.circular`

z2 <- dsimpostppt(deer, units = "radians", it = 10, ti =1, bi=0, ha = 1) postppt.plot(z2, plot.type= "line" , shrink = 1.4, tol = 1.2, ylim = c(0,0.6)) postppt.summary(z2) postppt.plot(z2, plot.type= "cpos" ) postppt.plot(z2, plot.type= "circle" , shrink = 1.4, tol = 1.2)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.