# DGP: data generation

### Description

Generating the multiple-instance data set.

### Usage

1 |

### Arguments

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

`m` |
an integer or vector of length |

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

### Value

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

, (2) the design matrix, `X`

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

.

### Examples

1 2 |