initfin: Functions for getting information on whether something is...

isInitialR Documentation

Functions for getting information on whether something is located at the beginning or end of a larger structure.

Description

Functions for getting information on whether something is located at the beginning or end of a larger structure.

Usage

isInitial(seq)

isFinal(seq, length)

Arguments

seq

Name of the column containing the sequence value to be taken into account.

length

Name of the column containing the maximum sequence value.

Examples

sbc007$tokenDF = addFieldLocal(sbc007$tokenDF, "isPSentInitial", isInitial(pSentOrder)
rez007$tokenDF = addFieldLocal(rez007$tokenDF, "pSentLength", inLength(pSentOrder, isWord = (text != "<0>")), type = "complex", groupField = "pSent")
rez007$tokenDF = addFieldLocal(rez007$tokenDF, "isPSentFinal", isFinal(pSentOrder, pSentLength))

johnwdubois/rezonateR documentation built on Nov. 19, 2024, 11:17 p.m.