compTwoCharVects: Compare two string vectors

Description Usage Arguments Value Note Author(s) References Examples

View source: R/compare.R

Description

Compare two string vectors

Usage

1
compTwoCharVects(vec1, vec2, showElements = FALSE, ...)

Arguments

vec1

vector one

vec2

vector two

showElements

TRUE/FALSE for showing entries

...

arguments passed to further functions

Value

comparisons of vector contents with respect to equality and optionally show entries

Note

under continuous developement

Author(s)

Roland Rapold

References

none

Examples

1
2
3
4
5
6
7
if(base::require("car")) {
   data(Mroz, package = "carData")
   str(Mroz)
   Mroz$wc <- as.character(Mroz$wc)
   Mroz$hc <- as.character(Mroz$hc)
   compTwoCharVects(Mroz$wc, Mroz$hc)
}

rrMisc documentation built on June 25, 2021, 3 a.m.