identity_index: Calculate the index of sameness for variables in the data...

Description Usage Arguments Value Examples

Description

Calculate the index of sameness for variables in the data frame

Usage

1
identity_index(.df, .na_include = FALSE)

Arguments

.df

data frame

.na_include

if TRUE, NA == NA will return TRUE. Otherwise all observations with at least one NA will go to other column. Default if FALSE

Value

data frame with identity index. identical and non_identical columns contatin number of observations where var1 == var2 and var1 != var2 respectively. other column contains number of observations with neither var1 == var2 nor var1 != var2 conditions, e.g. NaNs, NAs etc.

Examples

1

pavel-filatov/featr documentation built on May 12, 2019, 1:29 a.m.