abrev.pttn {naturaList} | R Documentation |
Internal function of naturaList - Return abbreviation collapsed
Description
Return collapsed abbreviation for a specific line of specialist data frame. It is used as pattern in grep function inside classify_occ
Usage
abrev.pttn(df, line)
Arguments
df |
spec data frame provided in classify_occ |
line |
specifies the line of the data frame to be collapsed |
Value
a list with two elements in regex format:
[[1]] |
the abbreviation of the first name; |
[[2]] |
regex pattern with all names and abbreviations. |
See Also
[Package naturaList version 0.5.2 Index]