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
actions
a set of actions whose number of appearances will be count.
Value
an integer vector of counts.