compTwoCharVects {rrMisc}R Documentation

Compare two string vectors

Description

Compare two string vectors

Usage

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

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)
}

[Package rrMisc version 0.48 Index]