View source: R/Skew_Index_Plot.R
skew_index_plot | R Documentation |
95 percent CI of posterior preditions in shaded orange, posterior median in white, and point estimate from sample in dark orange.
skew_index_plot(Index = "M", Age = FALSE, SkewResults = StanResults,
Save = FALSE)
Index |
Should plot be of "M" or of "Mraw"? |
Age |
M or Mraw should be adjusted for diminishing returns to age, TRUE or FALSE? |
SkewResults |
The Stan object from which the results will be plotted. |
Save |
If desired, the plot can be saved as a pdf. Just set Save="FigueNameDesired", and R will export the plot as "FigureNameDesired.pdf". |
set.seed(1)
RS = rpois(100, 5)
Age = rpois(100, 45)
M_index_stan(RS, Age)
skew_index_plot(Index="M", Age=FALSE, Save=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.