v_compare.Rd
Obtaing coincident and not coincident elements between two vectors.
v_compare(vector_x, vector_y)
vector_x | 1st vector to compare |
---|---|
vector_y | 2nd vector to compare |
Correlation index for all data input variable
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#> $present_in_both #> [1] "height" "weight" #> #> $rows_not_in_X #> [1] "location" "q_visits" #> #> $rows_not_in_Y #> [1] "age" #># Accessing the keys not present in