Generate class labels by using the readout mechanism. Logical formula is applied to two variables which are read out from the real data using the var1 and var2 probabilities. This only works with binary variables.

1 | ```
formulaFalseNeg(data, var1, var2, false.neg, logical.formula)
``` |

`data` |
a matrix or data.frame containing binary observations (columns are variables) |

`var1` |
index or name of the first variable |

`var2` |
index or name of the second variable |

`false.neg` |
a false negative probability |

`logical.formula` |
logical formula to apply |

a binary vector containing the class labels

1 2 3 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.