Learn R Programming

vcdExtra (version 0.6-5)

print.Kappa: Print Kappa

Description

This is a replacement for the print.Kappa method in vcd, adding display of z values to the vcd version and optional confidence intervals.

Usage

## S3 method for class 'Kappa':
print(x, digits=max(getOption("digits") - 3, 3), CI=FALSE, level=0.95,  ...)

Arguments

x
A Kappa object
digits
number of digits to print
CI
Include confidence intervals in the display?
level
confidence level
...
Other arguments

Value

  • Returns the Kappa object, invisibly.

See Also

confint.Kappa

Examples

Run this code
data("SexualFun")
Kappa(SexualFun)
print(Kappa(SexualFun), CI=TRUE)

# stratified 3-way table
apply(MSPatients, 3, Kappa)

Run the code above in your browser using DataLab