milr index

Generating the multiple-instance data set.

1 |

`n` |
an integer. The number of bags. |

`m` |
an integer or vector of length |

`beta` |
a vector. The true regression coefficients. |

a list including (1) bag-level labels, `Z`

, (2) the design matrix, `X`

, and (3) bag ID of each instance, `ID`

.

1 2 |

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

Please suggest features or report bugs with the GitHub issue tracker.

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