patternAgreement: Calculates patterns agreement

View source: R/patternAgreement.R

patternAgreementR Documentation

Calculates patterns agreement

Description

Helper function to calculate agreement A from a pattern vector.

Usage

patternAgreement(P, old=FALSE)

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.

Details

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

Value

The function returns the measure of agreement A

Author(s)

Didier Ruedin

See Also

agreement


agrmt documentation built on Nov. 23, 2023, 1:07 a.m.