Learn R Programming

gllvm (version 1.0)

confint.gllvm: Confidence intervals for model parameters

Description

Computes confidence intervals for parameters in a fitted gllvm model.

Usage

# S3 method for gllvm
confint(object, parm = NULL, level = 0.95, ...)

Arguments

object

an object of class 'gllvm'.

parm

a specification of which parameters are to be given confidence intervals, a vector of names. If missing, all parameters are considered.

level

the confidence level. Scalar between 0 and 1.

...

not used.

Examples

Run this code
# NOT RUN {
## Load a dataset from the mvabund package
data(antTraits)
y <- as.matrix(antTraits$abund)
X <- as.matrix(antTraits$env[,1:2])
# Fit gllvm model
fit <- gllvm(y = y, X = X, family = "poisson")
# 95 % confidence intervals
confint(fit, level = 0.95)

# }

Run the code above in your browser using DataLab