Learn R Programming

uxr (version 0.2.0)

get_concordant_discordant_pairs: Get concordant and discordant pairs for two variables

Description

Get concordant and discordant pairs for two variables

Usage

get_concordant_discordant_pairs(data, x, y)

Value

a data frame

Arguments

data

= data

x

variable 1

y

variable 2

Examples

Run this code
mtcars$id <- seq.int(nrow(mtcars))
get_concordant_discordant_pairs(mtcars, x = vs, y = am)

Run the code above in your browser using DataLab