Description Usage Arguments Details Examples
View source: R/generate_sequence.R
Generates an alphabet of unigrams based on given list of properties.
1 | generate_unigrams(unigram_list, unigram_names = NULL, prop_names = NULL)
|
unigram_list |
a list of unigrams' parameters. See Details. |
unigram_names |
names of unigrams. If not |
prop_names |
names of properties. If not |
Unigram parameters are represented as a list of intervals, where each interval corresponds to a different property. The function generate unigrams randomly choosing values of properties from given intervals using uniform distribution. All lists of ranges should have the same length, which equils to describing each unigram using the same properties.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.