Description Usage Arguments Value Note Author(s) References Examples
Compare two string vectors
1 | compTwoCharVects(vec1, vec2, showElements = FALSE, ...)
|
vec1 |
vector one |
vec2 |
vector two |
showElements |
TRUE/FALSE for showing entries |
... |
arguments passed to further functions |
comparisons of vector contents with respect to equality and optionally show entries
under continuous developement
Roland Rapold
none
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.