cdfplot | R Documentation |
Plot the elicited pointwise median and credible interval for an uncertain population CDF
cdfplot(
medianfit,
precisionfit,
lower = NA,
upper = NA,
ql = 0.025,
qu = 0.975,
median.dist = "best",
precision.dist = "gamma",
n.rep = 10000,
n.X = 100,
fontsize = 18
)
medianfit |
The output of a |
precisionfit |
The output of a |
lower |
lower limit on the x-axis for plotting. |
upper |
upper limit on the x-axis for plotting. |
ql |
lower quantile for the plotted pointwise credible interval. |
qu |
upper quantile for the plotted pointwise credible interval. |
median.dist |
The fitted distribution for the population median. Can be one of |
precision.dist |
The fitted distribution for the population precision. Can either be |
n.rep |
The number of randomly sampled CDFs used to estimated the median and credible interval. |
n.X |
The number of points on the x-axis at which the CDF is evaluated. |
fontsize |
Font size used in the plots. |
## Not run:
prfit <- fitprecision(interval = c(60, 70), propvals = c(0.2, 0.4), trans = "log")
medianfit <- fitdist(vals = c(50, 60, 70), probs = c(0.05, 0.5, 0.95), lower = 0)
cdfplot(medianfit, prfit)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.