Learn R Programming

survey (version 3.9-1)

svykappa: Cohen's kappa for agreement

Description

Computes the unweighted kappa measure of agreement between two raters and the standard error.

Usage

svykappa(formula, design, ...)

Arguments

formula
one-sided formula giving two measurements
design
survey design object
...
for future expansion

Value

  • Object of class svystat

See Also

svycontrast

Examples

Run this code
data(api)
dclus1<-svydesign(id=~dnum, weights=~pw, data=apiclus1, fpc=~fpc)
svykappa(~comp.imp+sch.wide, dclus1)

Run the code above in your browser using DataLab