random.names | R Documentation |
Generates a random sample of surnames of any length. Surnames and probabilities from Census Bureau, see <https://www.census.gov/topics/population/genealogy/data/2010_surnames.html>. Used to illustrate random sampling methods.
random.names(n)
n |
The number of random surnames to be generated |
A vector of surnames
* [Complete Playlist of RCPA3 Package Tutorial Videos](https://www.youtube.com/playlist?list=PL3jY4WDTUxoNqrxSSQH4q7XPLPYipeNCu), includes video for this function and many more.
library(RCPA3)
random.names(10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.