Description Usage Arguments Value Examples
Parse variable names and create a unique integer label for each unique use
of a matching base case. parse.names is used internally by several
dlmBE functions to determine which distributed lag terms
share the same random effects variance/penalty.
1 | parse.names(base, names, .warn = TRUE)
|
base |
a character vector with literal matches in |
names |
a character vector with substrings that are literal matches to
elements in |
an S3 object of class "pnames" which is of length
equal to length(names) and stores a unique integer label
for each matching case in base and a look up dictionary
for each integer.
Indexing in pnames objects takes a character string argument
and returns the vector indices of the matching base uses.
See Examples.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.