summary.ci {Publish} | R Documentation |
Summarize confidence intervals
Description
Summarize confidence intervals
Usage
## S3 method for class 'ci'
summary(object, format = "[u;l]", se = FALSE, print = TRUE, ...)
Arguments
object |
Object of class ci containing point estimates and the corresponding confidence intervals |
format |
A string which indicates the format used for
confidence intervals. The string is passed to
|
se |
If |
print |
Logical: if |
... |
used to control formatting of numbers |
Details
This format of the confidence intervals is user-manipulable.
Value
Formatted confidence intervals
Author(s)
Thomas A. Gerds <tag@biostat.ku.dk>
See Also
ci plot.ci format.ci
Examples
library(lava)
m <- lvm(Y~X)
m <- categorical(m,Y~X,K=4)
set.seed(4)
d <- sim(m,24)
ci.mean(Y~X,data=d)
x <- summary(ci.mean(Y~X,data=d),digits=2)
x
x <- summary(ci.mean(Y~X,data=d),format="(u,l)",digits=2)
x <- summary(ci.mean(Y~X,data=d),format="(u,l)",digits=1,se=TRUE)
x <- summary(ci.mean(Y~X,data=d),format="(u,l)",digits=1,handler="format")
x <- summary(ci.mean(Y~X,data=d),format="(u,l)",digits=1,handler="prettyNum")
[Package Publish version 2023.01.17 Index]