Learn R Programming

NetSim (version 0.9)

effect_container: Overview of SAOM-related functions

Description

Overview of functions to specify stochastic actor-oriented models. The naming of effects is in line with the RSiena manual (see reference below). The following effects are implemented in SAOMs for NetSim so far (to be extended, see RSiena manual for detailed explanations): OneModeNetworkEffect - density - recip - transTrip - cycle3 - nbrDist2 - inPop - outPop AttributeOneModeNetworkEffect - altX - egoX SimilarityAttributeOneModeNetworkEffect - simX - totSim AttributeEffect - linear - quad MultiplexNetworkEffect - crprod

Usage

create_effect_container() add_to_effect_container(effectContainer, effect, parameter) create_effect(name, ...) "create_effect"(name, networkIndex, ...) "create_effect"(name, attributeIndex, networkIndex, ...) "create_effect"(name, attributeIndex, networkIndex, meanSimilarityScore, ...) "create_effect"(name, attributeIndex, ...) "create_effect"(name, networkIndex1, networkIndex2, ...) "add_effect"(changeModel, effect, attributeIndex, ...) get_effect_type(name)

Arguments

effectContainer
An effect container object
effect
An effect object created with create_effects function
parameter
Parameter of the effect specified
name
String name of the effect according to the SIENA manual
changeModel
A SAOM change model
...
Additional parameters depending on the type of the effect (see description above)
attributeIndex
Index of an attribute containing the (changeable) parameter
meanSimilarityScore
mean similarity score according to effect definitions in the SIENA manual
networkIndex
Index of a network
networkIndex1
Index of a network
networkIndex2
Index of a network

References

Ripley, R. M.; Snijders, T. A. B. & Preciado Lopez, P.: Manual for SIENA 4.0. (2012), Oxford: University of Oxford, Department of Statistics; Nuffield College. URL: http://www.stats.ox.ac.uk/~snijders/siena/RSiena_Manual.pdf

See Also

create_multinomial_choice_network_change_model create_multinomial_choice_behavior_change_model create_attribute_multinomial_choice_network_change_model create_tie_swap_updater

Examples

Run this code
## See sections 4.1, 4.2 and 4.5 in the package vignette for detailed examples
## Small example:

Run the code above in your browser using DataLab