strCommonUnique: Finds the common and unique elements in a character vector.

Description Usage Arguments Value Examples

Description

Function takes a character string as input and find the common and unique elements. Assumes that the common element is at start of string

Usage

1
  strCommonUnique(string)

Arguments

string

Character vector

Value

list of common and unique strings

Examples

1
2
3
test <- c("Q_1", "Q_2", "Q_3")
strCommonUnique(test)$common
strCommonUnique(test)$unique


Search within the surveydata package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.