plot.confidenceInterval: plot.confidenceInterval

Description Usage Arguments Value Examples

View source: R/confidenceInterval.R

Description

plot.confidenceInterval

Usage

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",
  ...)

Arguments

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

Value

plot

Examples

1
2
3
x  <- runif(100) # generate some population
ci <- confidenceInterval(x, CI.mean)
plot(ci)

sigbertklinke/mmstat documentation built on May 14, 2019, 8:36 a.m.