Learn R Programming

ProcData (version 0.2.5)

count_actions: Count action appearances

Description

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

Usage

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.