count_actions: Count action appearances

Description Usage Arguments Value

View source: R/seq_functions.R

Description

This function counts the appearances of each action in actions in action sequence x.

Usage

1
count_actions(x, actions)

Arguments

x

an action sequence.

actions

a set of actions whose number of appearances will be count.

Value

an integer vector of counts.


xytangtang/ProcData documentation built on May 30, 2021, 1:21 a.m.