Description Usage Arguments Author(s) See Also
View source: R/createWordEmbeddings.R
Generate comparison between the prompt and participants' responses in a latent word2vec space.
1 2 3 4 5 6 7 8 | createWordEmbeddings(
dataframe,
prompts,
responses,
user_seed = 5,
prune_len = 2,
language = "en"
)
|
dataframe |
Dataframe from which we will estimate our regression model. |
prompts |
Vector/column in dataframe that contain the prompt that each respondnet saw. |
responses |
Vector/column in dataframe that records participants' recollection of prompt. |
user_seed |
Set seed for reproducibility. Default = 5. |
prune_len |
Cut words that are not frequently mentioned. Default = 2 (must be mentioned at least twice in the corpus). |
language |
What language are the prompts and responses? Default is English ('en'), Spanish ('es') and Brazilian-Portuguese ('br-pt') will hopefully be available soon. |
Jeffrey Ziegler (<jeffrey.ziegler[at]emory.edu>)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.