Description Usage Arguments Value Examples
View source: R/property_simulator.R
Simulate properties based on the empricial distribution of the original data and new words with frequency one
1 | property_simulator(orig_data, new_words, number_subjects)
|
orig_data |
a data frame of size nx3 (id, concept, property). The empriical distribution is generated from this data |
new_words |
integer greater than 0, corresponding to the number of words with frequency one that should be added to the empirical distribution |
number_subjects |
number of subjects to be sampled. Each subject with generates new properties |
a vector with the extra number of participant to achieve the especific coverage, and the estimate of the number of unique properties listed by the new amount of suggested people
1 2 | orig_data=data_paper[data_paper[,2]=="Decision",]
property_simulator(orig_data, 84, 15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.