# Randelves

This is a simple R package that allows generating unique random names of elves. This is especially useful if you want to anonymize names in a politically correct manner.

You can install it from CRAN:

R```
install.packages("randelves")
```

You can then use the package in R like this:

R```
> randelves::random_elves(10)
[1] "Tatharaethus"   "Caelellondeth"  "Thasel"         "Evselelis"
[5] "Rure"           "Lamemar Nyvara" "Jarnaerail"     "lyn'Dhodreron"
[9] "Eilreen"        "Lalianas"
```

You can also require short names:

R```
> randelves::random_elves(10, short = TRUE)
[1] "Aeltil"    "Nuvanna"   "Eirtae"    "Sylthi"    "Baelatril" "Gilemar"
[7] "Afla"      "Zyuath"    "Afafel"    "Sehin"
```

Under the hood, this uses the algorithm proposed in [https://www.angelfire.com/rpg2/vortexshadow/names.html](https://web.archive.org/web/20210412140219/https://www.angelfire.com/rpg2/vortexshadow/names.html).
