| ENAdata {rENA} | R Documentation |
ENAdata R6class
Description
ENAdata R6class
ENAdata R6class
Public fields
rawA data frame constructed from the unit, convo, code, and metadata parameters of ena.accumulate.data
adjacency.vectorsA data frame of adjacency (co-occurrence) vectors by row
accumulated.adjacency.vectorsA data frame of adjacency (co-occurrence) vectors accumulated per unit
modelThe type of ENA model: EndPoint, Accumulated Trajectory, or Separate Trajectory
unitsA data frame of columns that were combined to make the unique units. Includes column for trajectory selections. (unique)
unit.namesA vector of unique unit values
metadataA data frame of unique metadata for each unit
trajectoriesA list: units - data frame, for a given row tells which trajectory it's a part; step - data frame, where along the trajectory a row sits
adjacency.matrixTBD
adjacency.vectors.rawTBD
codesA vector of code names
function.callThe string representation of function called and parameters provided
function.paramsA list of all parameters sent to function call Construct ENAdata
Methods
Public methods
Method new()
Usage
ENAdata$new( file, units = NULL, units.used = NULL, units.by = NULL, conversations.by = NULL, codes = NULL, model = NULL, weight.by = "binary", window.size.back = 1, window.size.forward = 0, mask = NULL, include.meta = T, ... )
Arguments
fileTBD
unitsTBD
units.usedTBD
units.byTBD
conversations.byTBD
codesTBD
modelTBD
weight.byTBD
window.size.backTBD
window.size.forwardTBD
maskTBD
include.metaTBD
...TBD
Returns
Process accumulation
Method process()
Usage
ENAdata$process()
Returns
ENAdata Get property from object
Method get()
Usage
ENAdata$get(x = "data")
Arguments
xcharacter key to retrieve from object
Returns
value from object at x Add metadata
Method add.metadata()
Usage
ENAdata$add.metadata(merge = F)
Arguments
mergelogical (default: FALSE)
Returns
data.frame
Method clone()
The objects of this class are cloneable with this method.
Usage
ENAdata$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.