An extended version of
pmatch that allows
x to be
numeric or string-based. As with
pmatch, partial string
matches are handled.
This is a wrapper that is useful mainly for
which arguments to
a code, or vector of codes. This may be numeric, in which case it
is simply returned without further analysis of the other arguments, or it
may be string-based, in which case
a list that maps strings to numbers;
value to be returned for cases of no match (passed to
code for the handling of duplicates (passed to
A number, or vector of numbers, corresponding to the matches.
Non-matches are indicated with
NA values, or whatever value is given
pmatch is used for the actual matching, its
documentation should be consulted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.