Description Usage Arguments Examples
View source: R/createDistanceTable.R
This function creates a distance table by combining several functions
1 2 3 | createDistanceTable(path_to_corpus, freq_dist, n_gram_size = 1,
culling_level = 20, cut_off = 500, zscores_transformation = NULL,
distance_measure = "burrows-delta")
|
path_to_corpus |
path to the corpus directory |
freq_dist |
frequency distribution matrix |
n_gram_size |
size of ngrams - possible values: 1 & 2; default is 1 |
culling_level |
gives the opportunity to exclude sparse words: a culling level of 20 means that only words which occur in at least 20 texts in the corpus are considered in the analysis, default = 20 |
cut_off |
number of features which will be considered for the analysis, default = 500 |
zscores_transformation |
declares whether the zscores should be normalised or ternarised, default = NULL |
distance_measures |
determines the distance measure which is used for the calculation of the distance table, default = "burrows-delta" |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.