[R] confint.glm in a function
andy_liaw at merck.com
Tue Jul 13 14:56:21 CEST 2004
You actually don't need to load the package first:
function (object, parm, level = 0.95, trace = FALSE, ...)
pnames <- names(coef(object))
parm <- seq(along = pnames)
else if (is.character(parm))
parm <- match(parm, pnames, nomatch = 0)
cat("Waiting for profiling to be done...\n")
object <- profile(object, which = parm, alpha = (1 - level)/4,
trace = trace)
confint(object, parm = parm, level = level, trace = trace,
 ".GlobalEnv" "package:methods" "package:stats"
 "package:utils" "Autoloads" "package:base"
> From: Henric Nilsson
> At 19:02 2004-07-12 -0700, you wrote:
> > If I had "confint.glm", I could modify it so it could
> find data. and
> > size. However, its hidden.
> or navigate to /.../library/MASS/R and open the MASS file in
> your favourite
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
More information about the R-help