gen.sform: Generates Sform Statistics from Event Sequences

Description Usage Arguments Details Value Note Author(s)

Description

Internal function for generating sequence statistics based on limited regular expressions.

Usage

1
gen.sform(a, sform, olev = NULL)

Arguments

a

A character vector of events, possibly passed from gen.id. Must have attr(a,"a.uid").

sform

A regular expression representing the sequence statistic, see details

olev

a character vector, see details.

Details

This function is typically not called by the end user. Regular expressions must adhere to PERL standards and, at this time, must make use of the alphabetic event.key values in an eventlist object.

The parameter olev is a placeholder for future functionality, however can currently be used to truncate valid event types not found in the null.events values in an eventlist object. This parameter will rarely ever be non-null.

Value

A list of length(a) containing single row matrices of sufficient statistics for matches/non-matches of the S-form.

Note

Currently, a must consist of single character ids. This is not checked.

Author(s)

Christopher Steven Marcum


informR documentation built on May 1, 2019, 9:22 p.m.