aggr_data: convert individual event information to aggregated...

Description Usage Arguments Value See Also

View source: R/data_handling.r

Description

convert individual event information to aggregated information per network node

Usage

1
aggr_data(dat, from = NULL, cumsum = TRUE)

Arguments

dat

data.frame with variables 'node', 'time', 'delay', events data with single events with count magnitude

from

character in strftime format, e.g. "2014-06-12 16:15", data is subsetted accordingly before aggregation

cumsum

logical indicating whether data is aggregated by cumulative sum, default is TRUE

Value

data.frame of dimension (TxK), where T is the number of observation times and K the number of network nodes. Thus, each row represents a snapshot of the spreading process at a specific observation time with the event magnitude observed at the network nodes. Rownames are observation times, colnames are node names.

See Also

Other data_handling: read_DB_data()


NetOrigin documentation built on April 1, 2021, 5:07 p.m.