Report the positions of a sequence associated to a node
Source:R/ctx_node.R
, R/ctx_node_cpp.R
positions.Rd
This function returns the positions of the sequence represented by node
in the time series used to build the context tree in which the sequence is
represented. This is only possible is those positions were saved during the
construction of the context tree. In positions were not saved, a call to this
function produces an error.
Usage
positions(node)
# S3 method for ctx_node
positions(node)
# S3 method for ctx_node_cpp
positions(node)
Arguments
- node
a
ctx_node
object as returned byfind_sequence()