Description Usage Arguments Value References Examples
A wrapper for plotting confidence densities using confidence objects returned by *.conf() functions from clp.
1 | display.dconf(obj, xlim = NULL, xlab = NULL, col = "black", n.points = 2001)
|
obj |
a list of confidence functions returned by a *.conf() function |
xlim |
the horizontal limits for the plot. If NULL, taken as a 99.8% confidence interval. |
xlab |
the label for the horizontal axis |
col |
the color to plot the confidence curve |
n.points |
the number of points to plot for the confidence curve |
a plot of the confidence curve from obj
Tore Schweder and Nils Lid Hjort. Confidence, likelihood, probability. Vol. 41. Cambridge University Press, 2016.
1 2 3 4 5 6 7 | data(dietstudy)
x <- dietstudy$weightchange[dietstudy$diet == 'Low Carb']
out <- t_test.conf(x, plot = FALSE)
display.dconf(out, xlab = 'Average Weight Loss in Low Carb Group (lbs)')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.