ENAdata R6class

ENAdata R6class

Public fields

raw

A data frame constructed from the unit, convo, code, and metadata parameters of ena.accumulate.data

adjacency.vectors

A data frame of adjacency (co-occurrence) vectors by row

accumulated.adjacency.vectors

A data frame of adjacency (co-occurrence) vectors accumulated per unit

model

The type of ENA model: EndPoint, Accumulated Trajectory, or Separate Trajectory

units

A data frame of columns that were combined to make the unique units. Includes column for trajectory selections. (unique)

unit.names

A vector of unique unit values

metadata

A data frame of unique metadata for each unit

trajectories

A 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.matrix

TBD

adjacency.vectors.raw

TBD

codes

A vector of code names

function.call

The string representation of function called and parameters provided

function.params

A list of all parameters sent to function call Construct ENAdata

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

file

TBD

units

TBD

units.used

TBD

units.by

TBD

conversations.by

TBD

codes

TBD

model

TBD

weight.by

TBD

window.size.back

TBD

window.size.forward

TBD

mask

TBD

include.meta

TBD

...

TBD

Returns

Process accumulation


Method process()

Usage

ENAdata$process()

Returns

ENAdata Get property from object


Method get()

Usage

ENAdata$get(x = "data")

Arguments

x

character key to retrieve from object

Returns

value from object at x Add metadata


Method add.metadata()

Usage

ENAdata$add.metadata(merge = F)

Arguments

merge

logical (default: FALSE)

Returns

data.frame


Method clone()

The objects of this class are cloneable with this method.

Usage

ENAdata$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.