Description Usage Arguments Value Examples
Select a subset of cascades from cascade object
1 | subset_cascade(cascade, selection)
|
cascade |
cascade, object to select from |
selection |
character or integer, vector of cascade_ids to select |
An object of class cascade containing just the selected cascades
1 2 3 4 5 | data(policies)
cascades <- as_cascade_long(policies, cascade_node_name = 'statenam',
event_time = 'adopt_year', cascade_id = 'policy')
cascade_names <- names(cascades$cascade_times)
subset_cascade(cascades, selection = cascade_names[1:10])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.