Description Usage Arguments Value Examples
View source: R/simulateResponses.R
Simulates binary responses based on the input of network structure parameters.
1 2 3 4 5 6 | simulateResponses(
edge_weights,
thresholds,
perturbation_type,
amount_of_SDs_perturbation
)
|
edge_weights |
a matrix containing edge weights of a network structure. |
thresholds |
a vector containing node thresholds of a network structure. |
perturbation_type |
a string specifying a perturbation direction. Choose between "aggravating" (+) and "alleviating" (-). |
amount_of_SDs_perturbation |
an integer specifying with how many standard deviations of the threshold distribution to perturbate the threshold values. |
A data.frame structure containing simulated binary responses.
1 | # simulateResponses(edgeWeightMatrix, thresholdVector, "aggravating", 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.