sim.fluency: Simulates a verbal fluency binary response matrix
Description
Simulates verbal fluency data based on the number of
nodes in the desired network. The summed total of
each response is simulated from a poisson distribution
(see rpois), using frequencies from the
animals.freq data. Using these
sums, participants responses are simulated with a probability of giving
a response as the total of the summed response over the number of participants.
Usage
sim.fluency(nodes, cases, random = FALSE)
Value
A binary matrix with p (participants) by n (nodes)
Arguments
nodes
Numeric.
Number of nodes to simulate in data.
Defaults to 100
cases
Numeric.
Number of participants to simulate in data.
Defaults to 500
random
Boolean.
Should the frequencies be randomly sampled from?
Defaults to FALSE.
Author
Alexander Christensen <alexpaulchristensen@gmail.com>