Description Usage Arguments Details Value Author(s) See Also
Aggregates actor codes
1 | map_actors(edo, fun = function(x) { return(x) })
|
edo |
Event data |
fun |
Function or list specifying the aggregation mapping |
The function relabels actor codes according to the
filter. The filter may either be a function that returns
the new name of an event when handed the old one, or a
list structured like list(fruit=c('tomato',
'orange'), veg=c('red pepper', 'carrot'))
.
This function can also be used as a renaming function, but it is most useful when multiple codes should be treated as equivalent.
Event data with new actor codes
Will Lowe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.