rank_agreements: Count concordances and discordances

Description Usage Arguments Details Value See Also Examples

View source: R/correlations.R

Description

Count concordances and discordances between the ordering of two numeric vectors

Usage

1

Arguments

x

A numeric vector

y

A numeric vector

Details

x and y must have equal lengths.

Value

A numeric vector with elements names "concordances" and "discordances".

See Also

The rococo function in the rococo package.

Examples

1
rank_agreements(x = c(1, 2, 3), c(3, 1, 2))

wjhopper/whoppeR documentation built on May 4, 2019, 7:33 a.m.