simulateResponses: Simulate Responses

Description Usage Arguments Value Examples

View source: R/simulateResponses.R

Description

Simulates binary responses based on the input of network structure parameters.

Usage

1
2
3
4
5
6
simulateResponses(
  edge_weights,
  thresholds,
  perturbation_type,
  amount_of_SDs_perturbation
)

Arguments

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.

Value

A data.frame structure containing simulated binary responses.

Examples

1
# simulateResponses(edgeWeightMatrix, thresholdVector, "aggravating", 2)

JasperNaberman/nodeIdentifyR documentation built on July 7, 2021, 2:15 a.m.