summary.gower | R Documentation |
Print a summary of a Bayesian Gower fit.
## S3 method for class 'gower'
summary(object, conf.level = 0.95, digits = 4, ...)
object |
an object of class |
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. |
This function prints a summary of the fit.
A list containing various elements of the summary is returned invisibly, but this function should be called for its side effects.
gower.agree
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.