filter_dyad: Discard all but relevant actors

Description Usage Arguments Details Value Author(s) See Also

View source: R/events.R

Description

Extracts a directed dyad

Usage

1
2
filter_dyad(edo, source = function(x) {     TRUE }, target = function(x) {  
    TRUE })

Arguments

edo

Event data

source

Function that returns TRUE for source actor codes, or actor name, or vector of names.

target

Function that returns TRUE for target actor codes, or actor name, or vector of names.

Details

The source parameter identifies sources and the target parameter specifies the target names.

Value

All events in involving the specified source and target

Author(s)

Will Lowe

See Also

filter_codes, filter_time, filter_actors


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