Description Usage Arguments Value Examples
View source: R/confidenceInterval.R
plot.confidenceInterval
1 2 3 4 5 6 7 | ## S3 method for class 'confidenceInterval'
plot(x, population = list(pch = 19, cex = 0.5,
col = getOption("mmstat.col.population")[1]), sample = list(pch = 19, cex =
0.25, col = getOption("mmstat.col.sample")[1]), ci.lines = list(lwd = 1, col
= c("black", "red")), ci.points = list(pch = 19, cex = 0.5, col = c("black",
"red")), param.abline = list(col = "red"), text.population = "Population",
...)
|
x |
confidence interval object |
population |
list: parameters to draw the population points |
sample |
list: parameters to draw the sample points |
ci.lines |
list: parameters to draw the confidence interval |
ci.points |
list: parameters to draw the estimated parameter |
param.abline |
list: parameters to draw the line of the true parameter |
text.population |
character: text to write for the population |
... |
further parameters given |
plot
1 2 3 | x <- runif(100) # generate some population
ci <- confidenceInterval(x, CI.mean)
plot(ci)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.