View source: R/determine.surname.R
determine.surname | R Documentation |
This function uses results from get.census.matrix
to evaluate and derive the surname of any given character vector of Names.
determine.surname(x)
x |
Provide the 'census matrix' that is to be evaluated. See examples. |
The function returns a two element integer vector. The first element is the ordinal of the recommend/suggested surname. The second element is the confidence of the recommendation.
mjfii mick.flanigan@gmail.com
x <- 'livingston III, Mr. MICHAEL JOHN9'
x <- prep.name(x)
x <- strsplit(x,' ')[[1]]
cd <- get.census.data(x)
print(x)
determine.surname(cd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.