Learn R Programming

intensitynet (version 1.3.1)

RelateEventsToNetwork: Calculates edgewise and mean nodewise intensities for the given intensitynet object and, for each edge, the proportions of all event covariates.

Description

Calculates edgewise and mean nodewise intensities for the given intensitynet object and, for each edge, the proportions of all event covariates.

Usage

RelateEventsToNetwork(obj)

Value

proper intensitynet object (Undirected, Directed, or Mixed) with a graph containing the nodewise intensity in the node attributes and the edgewise intensities and event covariate proportions as edge attributes.

Arguments

obj

intensitynet object

Examples

Run this code

data("und_intnet_chicago")
intnet_chicago <- RelateEventsToNetwork(und_intnet_chicago)

Run the code above in your browser using DataLab