points.conint {Rearrangement} | R Documentation |
Points Method for Simultaneous Confidence Intervals
Description
A method for the points
generic. It graphs both the upper and lower end-point functions of a confidence interval as points on a plot.
Usage
## S3 method for class 'conint'
points(x, ...)
Arguments
x |
object of class |
... |
further arguments to |
Details
This is intended for plotting confidence intervals produced by the output of simconboot
or rconint
.
Author(s)
Wesley Graybill, Mingli Chen, Victor Chernozhukov, Ivan Fernandez-Val, Alfred Galichon
See Also
points
, plot.conint
, lines.conint
Examples
data(GrowthChart)
attach(GrowthChart)
nage <- 2 * pi * (age - min(age)) / (max(age) - min(age))
formula<-height~I(sin(nage))+I(cos(nage))+I(sin(2*nage))+I(cos(2*nage))+
I(sin(3*nage))+I(cos(3*nage))+I(sin(4*nage))+I(cos(4*nage))
j <- simconboot(nage,height,lm,formula)
plot(nage,height,pch=21,bg='gray',cex=.5,xlab="Age (years)",ylab="Height (cms)",col="gray")
points(j)
detach(GrowthChart)
[Package Rearrangement version 2.1 Index]