buildNames {conjurer} | R Documentation |
Generates names based on a given training data or using the default data
buildNames(dframe, numOfNames, minLength, maxLength)
dframe |
A dataframe. This argument is passed on to another function |
numOfNames |
A numeric. This specifies the number of names to be generated. It should be non-zero natural number. |
minLength |
A numeric. This specifies the minimum number of alphabets in the name. It must be a non-zero natural number. |
maxLength |
A numeric. This specifies the maximum number of alphabets in the name. It must be a non-zero natural number. |
This function generates names. There are two options to generate names. The first option is to use an existing sample of names and generate names. The second option is to use the default table of prior probabilities.
A list of names.
buildNames(numOfNames = 3, minLength = 5, maxLength = 7)