v_compare {funModeling}R 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

[Package funModeling version 1.9.5 Index]