Description Usage Arguments Value Note See Also Examples

Helper function to allow the generation of a set of events as cartesian product.

1 2 3 | ```
impimp_event(..., isEventList = FALSE)
is.impimp_event(x)
``` |

`...` |
these arguments are of the form |

`isEventList` |
logical; if |

`x` |
object to test for class |

A object of class `"impimp_event"`

as a list of lists,
where each sublist contains one point in the cartesian product,
spanned by the input values and variables.

There is no plausibility check on whether the supplied varnames are actually contained in the data.frame for which the resulting impimp_event object is later used for.

1 2 3 4 5 6 7 8 9 10 11 12 | ```
## underlying data set: x1: 1:6, x2: 1:10
## subspace, requiring: x1 == 1 & ((x2 == 1 ) | (x2 == 2))
impimp_event(x1 = 1, x2 = c(1,2))
## subsapce containing all points whitin the Cartesian
## product of (x1 =) {1,2,3,6} x {5,8} (= x2)
# via ... argument
impimp_event(x1 = c(1:3,6), x2 = c(5,8))
# via EVENTLIST
impimp_event(list(x1 = c(1:3,6), x2 = c(5,8)),
isEventList = TRUE)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.