summary.gower {goweragreement}R Documentation

Print a summary of a Bayesian Gower fit.

Description

Print a summary of a Bayesian Gower fit.

Usage

## S3 method for class 'gower'
summary(object, conf.level = 0.95, digits = 4, ...)

Arguments

object

an object of class "gower", the result of a call to gower.agree.

conf.level

the confidence level for the credible interval. The default is 0.95.

digits

the number of significant digits to display. The default is 4.

...

additional arguments. These are currently ignored.

Details

This function prints a summary of the fit.

Value

A list containing various elements of the summary is returned invisibly, but this function should be called for its side effects.

See Also

gower.agree

Examples


# Fit the liver data, using the mean distance for each row of the data matrix.
# The range (which is equal to 4) must be passed to \code{\link{gower.agree}}
# since these data are ordinal and the L1 distance function is used. We assume
# a one-way sampling design for these data, i.e., units are random and coders
# are fixed.

data(liver)
liver = as.matrix(liver)
fit = gower.agree(liver, data.type = "ordinal", range = 4)
summary(fit)

[Package goweragreement version 1.0 Index]