Learn R Programming

agrmt (version 1.42.12)

patternAgreement: Calculates patterns agreement

Description

Helper function to calculate agreement A from a pattern vector.

Usage

patternAgreement(P, old=FALSE)

Value

The function returns the measure of agreement A

Arguments

P

A pattern vector

old

Optional argument if the old algorithm for agreement A is to be used. There is normally no reason to set the old argument.

Author

Didier Ruedin

Details

This is a helper function to calculate agreement A from a pattern vector.

See Also

agreement