Description Usage Arguments Value Author(s) Examples
Function to represent results of matching when each query argument may match multiple elements in the target.
1 | multimatch(query, target, values, sep = ",", use.unique = TRUE)
|
query |
Vector of values to be matched. |
target |
Vector of values that |
values |
Vector of values to be returned for matches in |
sep |
Character to separate values for multiple matches. |
use.unique |
Logical flag indicating whether to return unique set of values only. |
A character vector of length length(query)
.
Toby Johnson Toby.x.Johnson@gsk.com
1 2 3 4 | bmidata <- data.frame(subject = c("A001", "A002", "A003", "A003"),
year = c(2001, 2001, 2001, 2005),
bmi = c(21.3, 29.7, 25.5, 22.3))
multimatch(c("A002", "A003"), bmidata$subject, bmidata$bmi)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.