map_actors: Aggregate actor codes

Description Usage Arguments Details Value Author(s) See Also

View source: R/events.R

Description

Aggregates actor codes

Usage

1
map_actors(edo, fun = function(x) {     return(x) })

Arguments

edo

Event data

fun

Function specifying the aggregation mapping

Details

The function relabels actor codes according to fun. mapper provides an easy way to make a function specifying what things should now be called.

This function can also be used as a renaming function, but it is most useful when multiple codes should be treated as equivalent.

Value

Event data with new actor codes

Author(s)

Will Lowe

See Also

map_codes


conjugateprior/events documentation built on May 13, 2019, 9:56 p.m.