Title: | Processing and Transforming Relational Event History Data |
---|---|
Description: | Efficiently processes relational event history data and transforms them into formats suitable for other packages. The primary objective of this package is to convert event history data into a format that integrates with the packages in 'remverse' and is compatible with various analytical tools (e.g., computing network statistics, estimating tie-oriented or actor-oriented social network models). Second, it can also transform the data into formats compatible with other packages out of 'remverse'. The package processes the data for two types of temporal social network models: tie-oriented modeling framework (Butts, C., 2008, <doi:10.1111/j.1467-9531.2008.00203.x>) and actor-oriented modeling framework (Stadtfeld, C., & Block, P., 2017, <doi:10.15195/v4.a14>). |
Authors: | Giuseppe Arena [aut, cre] , Rumana Lakdawala [ctb], Marlyne Meijerink-Bosman [ctb], Diana Karimova [ctb], Fabio Generoso Vieira [ctb], Mahdi Shafiee Kamalabad [ctb], Roger Leenders [ctb], Joris Mulder [ctb] |
Maintainer: | Giuseppe Arena <[email protected]> |
License: | MIT + file LICENSE |
Version: | 3.2.6 |
Built: | 2024-11-13 06:17:53 UTC |
Source: | CRAN |
A function that returns the dimension of the temporal network.
## S3 method for class 'remify' dim(x)
## S3 method for class 'remify' dim(x)
x |
a |
vector of dimensions of the processed event sequence.
# processing the random network 'randomREHsmall' library(remify) data(randomREHsmall) reh <- remify(edgelist = randomREHsmall$edgelist, model = "tie") # dimensions of the processed 'remify' object dim(reh)
# processing the random network 'randomREHsmall' library(remify) data(randomREHsmall) reh <- remify(edgelist = randomREHsmall$edgelist, model = "tie") # dimensions of the processed 'remify' object dim(reh)
A function that given a vector of actor names returns the corresponding vector of ID's.
getActorID(x, actorName = NULL) ## S3 method for class 'remify' getActorID(x, actorName = NULL)
getActorID(x, actorName = NULL) ## S3 method for class 'remify' getActorID(x, actorName = NULL)
x |
a |
actorName |
a vector of actor names. The same names in the input edgelist. |
actor ID as integer value.
getActorID(remify)
: return actor's ID from actor's name
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find actor ID from the actor name getActorID(x = reh, actorName = c("Francesca","Kayla"))
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find actor ID from the actor name getActorID(x = reh, actorName = c("Francesca","Kayla"))
A function that given a vector of actor ID's returns the corresponding vector of actor (input) names.
getActorName(x, actorID = NULL) ## S3 method for class 'remify' getActorName(x, actorID = NULL)
getActorName(x, actorID = NULL) ## S3 method for class 'remify' getActorName(x, actorID = NULL)
x |
a |
actorID |
a vector of actor ID's. The ID value can range between |
character vector of actors' names.
getActorName(remify)
: return actor's name from actor's ID
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find actor name from actor ID getActorName(x = reh, actorID = c(1,2,8,12))
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find actor name from actor ID getActorName(x = reh, actorID = c(1,2,8,12))
A function that given a vector of one or more dyad ID's returns the corresponding dyad composition of "actor1", "actor2" and "type" (if event types are present). The ID's to supply must range between 1 and D (largest risk set size).
getDyad(x, dyadID, active = FALSE) ## S3 method for class 'remify' getDyad(x, dyadID, active = FALSE)
getDyad(x, dyadID, active = FALSE) ## S3 method for class 'remify' getDyad(x, dyadID, active = FALSE)
x |
a |
dyadID |
a vector of one or more dyad ID's, each one ranging from 1 to D (largest risk set size). |
active |
logical, whether to consider the input |
a data.frame with "actor1", "actor2" and "type" names corresponding to the vector dyadID
.
getDyad(remify)
: return dyad composition in actor1, actor2 and type from one (or more) dyad ID
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find dyad composition (names of actor1, actor2 and type) from the dyad ID getDyad(x = reh, dyadID = c(450,239,900))
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find dyad composition (names of actor1, actor2 and type) from the dyad ID getDyad(x = reh, dyadID = c(450,239,900))
A function that given a vector of names as to actor1, actor2 and type returns the corresponding dyad ID. The names to supply are the original input names of the edgelist before the processing via the function remify::remify()
.
getDyadID(x, actor1, actor2, type) ## S3 method for class 'remify' getDyadID(x, actor1, actor2, type)
getDyadID(x, actor1, actor2, type) ## S3 method for class 'remify' getDyadID(x, actor1, actor2, type)
x |
a |
actor1 |
[character] name of actor1. |
actor2 |
[character] name of actor2. |
type |
[character] name of type. |
dyad ID as integer value.
getDyadID(remify)
: return dyad's ID from dyad's composition
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find dyad ID from dyad composition (names of actor1, actor2 and type) getDyadID(x = reh, actor1 = "Francesca", actor2 = "Kayla", type = "conflict")
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find dyad ID from dyad composition (names of actor1, actor2 and type) getDyadID(x = reh, actor1 = "Francesca", actor2 = "Kayla", type = "conflict")
This function returns the processed risk set changes specified by the input 'omit_dyad'. In such a matrix: value 1 refers to the dyads in the risk set, and 0 otherwise (dyads excluded from the risk set). All the possible risk set modifications are described by row, and the columns identify the dyads. Note: This matrix is the output given by processing the input 'omit_dyad', and the number of rows might be equal to or higher than the number of objects in 'omit_dyad'. This might happen because more than one modification of the risk set defined in the input could overlap over time with others. For more details about how the risk set is processed, see vignette(package="remify",topic="riskset")
.
getRiskset(x) ## S3 method for class 'remify' getRiskset(x)
getRiskset(x) ## S3 method for class 'remify' getRiskset(x)
x |
a |
list of objects describing the processed the risk set.
getRiskset(remify)
: manual riskset object
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # structure of the processed risk set str(getRiskset(reh))
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # structure of the processed risk set str(getRiskset(reh))
A function that given a vector of type names returns the corresponding vector of ID's.
getTypeID(x, typeName = NULL) ## S3 method for class 'remify' getTypeID(x, typeName = NULL)
getTypeID(x, typeName = NULL) ## S3 method for class 'remify' getTypeID(x, typeName = NULL)
x |
a |
typeName |
a vector of type names. The same names in the input edgelist. |
type ID as integer value.
getTypeID(remify)
: return type's ID from type's name
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find type ID from the type name getTypeID(x = reh, typeName = c("conflict","cooperation"))
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find type ID from the type name getTypeID(x = reh, typeName = c("conflict","cooperation"))
A function that given a vector of type ID's returns the corresponding vector of type (input) names.
getTypeName(x, typeID = NULL) ## S3 method for class 'remify' getTypeName(x, typeID = NULL)
getTypeName(x, typeID = NULL) ## S3 method for class 'remify' getTypeName(x, typeID = NULL)
x |
a |
typeID |
a vector of type ID's. The ID value can range between |
character vector of types' names.
getTypeName(remify)
: return type's name from type's ID
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find type name from type ID getTypeName(x = reh, typeID = c(1,3))
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # find type name from type ID getTypeName(x = reh, typeID = c(1,3))
several plots that describe the network of relational events, both for directed and undirected relational events.
## S3 method for class 'remify' plot( x, which = c(1:5), breaks = 15L, palette = "Purples", n_intervals = 4L, rev = TRUE, actors = attr(x, "dictionary")$actors$actorName, pch.degree = 20, igraph.edge.color = "#4daa89", igraph.vertex.color = "#5AAFC8", ... )
## S3 method for class 'remify' plot( x, which = c(1:5), breaks = 15L, palette = "Purples", n_intervals = 4L, rev = TRUE, actors = attr(x, "dictionary")$actors$actorName, pch.degree = 20, igraph.edge.color = "#4daa89", igraph.vertex.color = "#5AAFC8", ... )
x |
is a |
which |
one or more numbers between 1 and 5. Plots described in order: (1) distribution of the inter-event times (histogram), (2) tile plot titled 'activity plot', with in-degree and out-degree activity line plots on the sides (or total-degree on the top side if the network is undirected). Tiles' color is scaled based on the count of the directed (or undirected) dyad, (3) for directed networks two plots of normalized out-degree and in-degree (values ranging in [0,1]) over a set of |
breaks |
default is |
palette |
a palette from |
n_intervals |
number of time intervals for time plots (default is |
rev |
default is TRUE (reverse order of the color specified in |
actors |
default is the set of actors in the network (see |
pch.degree |
default is 20. Shape of the points for the degree plots (in-degree, out-degree, total-degree). |
igraph.edge.color |
color of the edges in visualization of the network with vertices and nodes. The user can specify the hex value of a color, the color name or use the function |
igraph.vertex.color |
color of the vertices in visualization of the network with vertices and nodes. The user can specify the hex value of a color, the color name or use the function |
... |
other graphical parameters |
Generic plot method
no return value, called for plotting descriptives on the relational event history data.
print a summary of the event history.
## S3 method for class 'remify' print(x, ...)
## S3 method for class 'remify' print(x, ...)
x |
a |
... |
further arguments. |
displays the same information provided by the summary method.
# processing the random network 'randomREHsmall' library(remify) data(randomREHsmall) reh <- remify(edgelist = randomREHsmall$edgelist, model = "tie") # printing a summary of the processed 'remify' object print(reh)
# processing the random network 'randomREHsmall' library(remify) data(randomREHsmall) reh <- remify(edgelist = randomREHsmall$edgelist, model = "tie") # printing a summary of the processed 'remify' object print(reh)
A randomly generated sequence of relational events with 20 actors and 9915 events. Each event type is associated to one of the three following sentiments: conflict, competition and cooperation.
randomREH
randomREH
data(randomREH)
will load a list containing following objects:
edgelist
a data.frame
that contains the random sequence of events. Columns of the edgelist are:
time
the timestamp indicating the time at which each event occurred;
actor1
the name of the actor that generated the relational event;
actor2
the name of the actor that received the relational event;
type
the type of the relational event.
actors
names of actors interacting in the dynamic network.
types
names of event types observed in the network and describing the sentiment of the interaction (conflict, competition and cooperation).
origin
starting time point (t_0
) prior to the first observed event (t_1
), the class of this object must be the same as the one of the time column in the edgelist.
omit_dyad
a list where each element describes an alteration of the riskset which takes place at specific time points and for certain actors and/or types.
data(randomREH) # actors names randomREH$actors # types names randomREH$types # looking into the first modification of the riskset: omit_dyad[[1]] ## the data.frame `dyad` specifies which dyads will be omitted from the riskset ## (all the dyads that expressed a `conflict` between actor won't be part of the riskset): randomREH$omit_dyad[[1]]$dyad ## the vector `time` specifies the time points when this exclusion takes place head(randomREH$omit_dyad[[1]]$time) # (printing out only the first 10 time points) # run the preprocessing function reh() by supplying the loaded objects. edgelist_reh <- remify(edgelist = randomREH$edgelist, actors = randomREH$actors, types = randomREH$types, directed = TRUE, ordinal = FALSE, origin = randomREH$origin, omit_dyad = randomREH$omit_dyad, model = "tie") # `edgelist_reh` is an object of class `reh` class(edgelist_reh) # names of objects inside `edgelist_reh` names(edgelist_reh)
data(randomREH) # actors names randomREH$actors # types names randomREH$types # looking into the first modification of the riskset: omit_dyad[[1]] ## the data.frame `dyad` specifies which dyads will be omitted from the riskset ## (all the dyads that expressed a `conflict` between actor won't be part of the riskset): randomREH$omit_dyad[[1]]$dyad ## the vector `time` specifies the time points when this exclusion takes place head(randomREH$omit_dyad[[1]]$time) # (printing out only the first 10 time points) # run the preprocessing function reh() by supplying the loaded objects. edgelist_reh <- remify(edgelist = randomREH$edgelist, actors = randomREH$actors, types = randomREH$types, directed = TRUE, ordinal = FALSE, origin = randomREH$origin, omit_dyad = randomREH$omit_dyad, model = "tie") # `edgelist_reh` is an object of class `reh` class(edgelist_reh) # names of objects inside `edgelist_reh` names(edgelist_reh)
A subset from the randomly generated sequence of relational events 'randomREH', with 5 actors and 586 events (without event types).
randomREHsmall
randomREHsmall
data(randomREHsmall)
will load a list containing following objects:
edgelist
a data.frame
that contains the random sequence of events. Columns of the edgelist are:
time
the timestamp indicating the time at which each event occurred;
actor1
the name of the actor that generated the relational event;
actor2
the name of the actor that received the relational event;
actors
names of actors interacting in the dynamic network.
origin
starting time point (t_0
) prior to the first observed event (t_1
), the class of this object must be the same as the one of the time column in the edgelist.
omit_dyad
a list where each element describes an alteration of the riskset which takes place at specific time points and for certain actors and/or types.
data(randomREHsmall) # actors names randomREHsmall$actors # types names randomREHsmall$types # run the preprocessing function reh() by supplying the loaded objects. small_edgelist_reh <- remify(edgelist = randomREHsmall$edgelist, actors = randomREHsmall$actors, directed = TRUE, ordinal = FALSE, origin = randomREHsmall$origin, omit_dyad = randomREHsmall$omit_dyad, model = "tie") # `small_edgelist_reh` is an object of class `reh` class(small_edgelist_reh) # names of objects inside `small_edgelist_reh` names(small_edgelist_reh)
data(randomREHsmall) # actors names randomREHsmall$actors # types names randomREHsmall$types # run the preprocessing function reh() by supplying the loaded objects. small_edgelist_reh <- remify(edgelist = randomREHsmall$edgelist, actors = randomREHsmall$actors, directed = TRUE, ordinal = FALSE, origin = randomREHsmall$origin, omit_dyad = randomREHsmall$omit_dyad, model = "tie") # `small_edgelist_reh` is an object of class `reh` class(small_edgelist_reh) # names of objects inside `small_edgelist_reh` names(small_edgelist_reh)
A function that transforms a remify
object into one of the possible formats that suit external packages. The function can convert, at the moment, the data structure from an object of class remify
to a data structure required by the function relevent::rem()
or by the function relevent::rem.dyad()
from the 'relevent' package (Butts, C.T. 2023).
rehshape( data, output_format = c("relevent-rem", "relevent-rem.dyad"), ncores = 1L, optional_arguments = NULL )
rehshape( data, output_format = c("relevent-rem", "relevent-rem.dyad"), ncores = 1L, optional_arguments = NULL )
data |
an object of class 'remify' (see function |
output_format |
a character indicating the output format which the input data has to be converted to. It can assume two values: |
ncores |
number of cores used to parallelize internal algorithms |
optional_arguments |
vector of arguments names from relevent::rem or relevent::rem.dyad() that the user might want to process and have in the output object of rehshape (e.g., the pre-computed structures required by relevent::rem.dyad) |
an object of class specified in the output_format
argument. The output class object 'relevent-rem' contains a list of objects named after the arguments of the function relevent::rem()
: 'eventlist' (mandatory), 'supplist' (optional), 'timing'(mandatory). The output class object 'relevent-rem.dyad' contains a list of objects named after the arguments of the function relevent::rem.dyad()
: 'edgelist' (mandatory), 'n' (mandatory), 'ordinal'(optional).
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # convert 'remify' object to output_format = "relevent-rem" relevent_rem_obj <- rehshape(data = reh, output_format = "relevent-rem") str(relevent_rem_obj) # convert 'remify' object to output_format = "relevent-rem.dyad" relevent_rem.dyad_obj <- rehshape(data = reh, output_format = "relevent-rem.dyad") summary(relevent_rem.dyad_obj)
# processing the random network 'randomREH' library(remify) data(randomREH) reh <- remify(edgelist = randomREH$edgelist, model = "tie", riskset = "manual", omit_dyad = randomREH$omit_dyad) # convert 'remify' object to output_format = "relevent-rem" relevent_rem_obj <- rehshape(data = reh, output_format = "relevent-rem") str(relevent_rem_obj) # convert 'remify' object to output_format = "relevent-rem.dyad" relevent_rem.dyad_obj <- rehshape(data = reh, output_format = "relevent-rem.dyad") summary(relevent_rem.dyad_obj)
A function that processes raw relational event history data and returns a S3 object of class 'remify' which is used as input in other functions inside 'remverse'.
remify( edgelist, directed = TRUE, ordinal = FALSE, model = c("tie", "actor"), actors = NULL, types = NULL, riskset = c("full", "active", "manual"), origin = NULL, omit_dyad = NULL, ncores = 1L )
remify( edgelist, directed = TRUE, ordinal = FALSE, model = c("tie", "actor"), actors = NULL, types = NULL, riskset = c("full", "active", "manual"), origin = NULL, omit_dyad = NULL, ncores = 1L )
edgelist |
the relational event history. An object of class |
directed |
logical value indicating whether events are directed ( |
ordinal |
logical value indicating whether only the order of events matters in the model ( |
model |
can be "tie" or "actor" oriented modeling. This argument plays a fundamental role when |
actors |
[optional] character vector of actors' names that may be observed interacting in the network. If |
types |
[optional] character vector of event types that may occur in the network. If |
riskset |
[optional] character value indicating the type of risk set to process: |
origin |
[optional] starting time point of the observaton period (default is |
omit_dyad |
[optional] list of lists. Each list refers to one risk set modification and must have two objects: a first object named 'time', that is a vector of two values defining the first and last time point of the time window where to apply the change to the risk set and a second object, named 'dyad', which is a |
ncores |
[optional] number of cores used in the parallelization of the processing functions. (default is |
In omit_dyad
, the NA
value can be used to remove multiple objects from the risk set at once with one risk set modification list. For example, to remove all events with sender equal to actor “A” add a list with two objects time = c(NA, NA)
and dyad = data.frame(actor1 = A, actor2 = NA, type = NA)
to the omit_dyad
list. For more details about
'remify' S3 object, list of: number of events ('M'), number of actors ('N'), number of event types (if present, 'C'), number of dyads ('D', and also 'activeD' if 'riskset="active"'), vector of inter-event times (waiting times between two subsequent events), processed input edgelist as 'data.frame', processed 'omit_dyad' object as 'list'. The function returns also several attributes that make efficient the processing of the data for future analysis. For more details about the function, input arguments, output, attributes and methods, please read vignette(package="remify",topic="remify")
.
# load package and random network 'randomREH' library(remify) data(randomREH) # first events in the sequence head(randomREH$edgelist) # actor's names randomREH$actors # event type's names randomREH$types # start time of the study (origin) randomREH$origin # list of changes of the risk set: each one is a list of: # 'time' (indicating the time window where to apply the risk set reduction) # 'dyad' (a data.frame describing the dyads to remove from the risk set # during the time window specified in 'time') str(randomREH$omit_dyad) # -------------------------------------- # # processing for tie-oriented modeling # # -------------------------------------- # tie_randomREH <- remify(edgelist = randomREH$edgelist, directed = TRUE, ordinal = FALSE, model = "tie", actors = randomREH$actors, types = randomREH$types, riskset = "manual", origin = randomREH$origin, omit_dyad = randomREH$omit_dyad) # summary summary(tie_randomREH) # dimensions of the processed network dim(tie_randomREH) # Which ID is assigned to the actors with names "Francesca" and "Kayla"? getActorID(x = tie_randomREH, actorName = c("Francesca","Kayla")) # Which ID is assigned to the event type "conflict"? getTypeID(x = tie_randomREH, typeName = "conflict") # Find dyad composition (names of actor1, actor2 and type) from the dyad ID: c(1,380,760,1140) getDyad(x = tie_randomREH, dyadID = c(1,380,760,1140)) # visualize descriptive measures of relational event data # plot(x = tie_randomREH) # -------------------------------------- # # processing for actor-oriented modeling # # -------------------------------------- # # loading network 'randomREHsmall' data(randomREHsmall) # processing small random network actor_randomREH <- remify(edgelist = randomREHsmall$edgelist, directed = TRUE, ordinal = FALSE, model = "actor", actors = randomREHsmall$actors, origin = randomREHsmall$origin) # summary summary(actor_randomREH) # dimensions of the processed network dim(actor_randomREH) # ------------------------------------ # # for more information about remify() # # check: vignette(package="remify") # # ------------------------------------ #
# load package and random network 'randomREH' library(remify) data(randomREH) # first events in the sequence head(randomREH$edgelist) # actor's names randomREH$actors # event type's names randomREH$types # start time of the study (origin) randomREH$origin # list of changes of the risk set: each one is a list of: # 'time' (indicating the time window where to apply the risk set reduction) # 'dyad' (a data.frame describing the dyads to remove from the risk set # during the time window specified in 'time') str(randomREH$omit_dyad) # -------------------------------------- # # processing for tie-oriented modeling # # -------------------------------------- # tie_randomREH <- remify(edgelist = randomREH$edgelist, directed = TRUE, ordinal = FALSE, model = "tie", actors = randomREH$actors, types = randomREH$types, riskset = "manual", origin = randomREH$origin, omit_dyad = randomREH$omit_dyad) # summary summary(tie_randomREH) # dimensions of the processed network dim(tie_randomREH) # Which ID is assigned to the actors with names "Francesca" and "Kayla"? getActorID(x = tie_randomREH, actorName = c("Francesca","Kayla")) # Which ID is assigned to the event type "conflict"? getTypeID(x = tie_randomREH, typeName = "conflict") # Find dyad composition (names of actor1, actor2 and type) from the dyad ID: c(1,380,760,1140) getDyad(x = tie_randomREH, dyadID = c(1,380,760,1140)) # visualize descriptive measures of relational event data # plot(x = tie_randomREH) # -------------------------------------- # # processing for actor-oriented modeling # # -------------------------------------- # # loading network 'randomREHsmall' data(randomREHsmall) # processing small random network actor_randomREH <- remify(edgelist = randomREHsmall$edgelist, directed = TRUE, ordinal = FALSE, model = "actor", actors = randomREHsmall$actors, origin = randomREHsmall$origin) # summary summary(actor_randomREH) # dimensions of the processed network dim(actor_randomREH) # ------------------------------------ # # for more information about remify() # # check: vignette(package="remify") # # ------------------------------------ #
A function that returns a easy-to-read summary of the main characteristics as to the processed relational event sequence.
## S3 method for class 'remify' summary(object, ...)
## S3 method for class 'remify' summary(object, ...)
object |
a |
... |
other arguments. |
prints out the main characteristics of the processed relational event sequence.
# processing the random network 'randomREHsmall' library(remify) data(randomREHsmall) reh <- remify(edgelist = randomREHsmall$edgelist, model = "tie") # printing a summary of the processed 'remify' object summary(reh)
# processing the random network 'randomREHsmall' library(remify) data(randomREHsmall) reh <- remify(edgelist = randomREHsmall$edgelist, model = "tie") # printing a summary of the processed 'remify' object summary(reh)