print.contexts {mixvlmc}R Documentation

Print a context list

Description

This function prints a list of contexts i.e. a contexts object listing ctx_node objects.

Usage

## S3 method for class 'contexts'
print(x, reverse = TRUE, ...)

Arguments

x

the contexts object to print

reverse

specifies whether the contexts should be reported in temporal order (FALSE, default value) or in reverse temporal order (TRUE). If the parameter is not specified, the contexts are displayed in order specified by the call to contexts() used to build the context list.

...

additional arguments for the print function.

Value

the x object, invisibly

See Also

contexts()

Examples

dts <- c("A", "B", "C", "A", "A", "B", "B", "C", "C", "A")
dts_tree <- ctx_tree(dts, max_depth = 3)
print(contexts(dts_tree))

[Package mixvlmc version 0.2.1 Index]