generate_start_letters: Generate Begriffix start letter combinations

Description Usage Arguments Details Value Examples

View source: R/generate_start_letters.R

Description

Get Begriffix start letter combinations ready for passing to a simulation configuration.

Usage

1
generate_start_letters(type = "char", n = 1)

Arguments

type

The source type of the generated start letters (char, pair, or human).

n

The number of generated combinations.

Details

The type parameter can take the following different values:

random

Take a sample of size 4 from the 30 characters used to build german words (letters, ä, ö, ü, and ß), weighted by relative frequencies given in DERECHAR, and pastes them together as string.

pair

Take the first n entries from DEREWO_Startbuchstaben.

human

Take n random entries from Begriffix_Startbuchstaben.

Value

A character vector where each entry consists of four letters.

Examples

1
generate_start_letters(type = "human", n = 5)

strategic-games/sg.data documentation built on June 21, 2020, 8:30 a.m.