View source: R/estimate_network.R
| build_atna | R Documentation |
Convenience wrapper for build_network(method = "attention").
Computes decay-weighted transitions from sequence data.
build_atna(data, start = FALSE, end = FALSE, ...)
data |
Data frame (sequences or per-observation frequencies) or a square symmetric matrix (correlation or covariance). |
start |
Boundary marker prepended to every sequence as an explicit
start state (a pure source: no incoming edges, every sequence's first
transition is |
end |
Boundary marker placed in the single cell after each sequence's
last observed (non- |
... |
Additional arguments passed to |
A netobject (see build_network).
build_network
seqs <- data.frame(V1 = c("A","B","C"), V2 = c("B","C","A"))
net <- build_atna(seqs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.