strategy_statements | R Documentation |
Helper to generate statements of the form "X = 1 & Y = 0" from realized data on one observation
strategy_statements(data, strategies)
data |
A data frame with one row |
strategies |
A list of strategies where each strategy is a set of nodes to be observed |
A string
data.frame(X = 1, M = 0, Y = NA) %>%
strategy_statements(list(c("X", "M", "Y"), "X", "Y"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.