v_compare: Compare two vectors

View source: R/exploratory_data_analysis.R

v_compareR Documentation

Compare two vectors

Description

Obtaing coincident and not coincident elements between two vectors.

Usage

v_compare(vector_x, vector_y)

Arguments

vector_x

1st vector to compare

vector_y

2nd vector to compare

Value

Correlation index for all data input variable

Examples

v1=c("height","weight","age")
v2=c("height","weight","location","q_visits")
res=v_compare(vector_x=v1, vector_y=v2)
# Print the keys that didn't match
res
# Accessing the keys not present in

funModeling documentation built on May 29, 2024, 3:24 a.m.