Description Usage Arguments Value References Examples
A wrapper for plotting P-curves using confidence objects returned by *.conf() functions from clp.
1 2 3 4 5 6 7 8 9 |
obj |
a list of confidence functions returned by a *.conf() function |
conf.level |
the confidence level for the confidence interval indicated on the P-curve |
xlim |
the horizontal limits for the plot. If NULL, taken as the larger of a conf.level confidence interval or a 1 - (1 - conf.level)/2 confidence interval. |
xlab |
the label for the horizontal axis |
log |
switch for plotting the horizontal ('x') or vertical ('x') or both ('xy') axes with a log-scaling |
col |
the color to plot the confidence curve |
n.points |
the number of points to plot for the confidence curve |
a plot of the P-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.pcurve(out, conf.level = 0.999, 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.