datagenerator.outloop | R Documentation |

This function is used to generate one data batch each time to illustrate the usage of `RenewGLM.outloop`

function

```
datagenerator_out(beta, b, n, family, construct, rho, categorical = FALSE,
seed = NA)
```

`beta` |
designed coefficients for simulated data batches, including the intercept |

`b` |
index for the current data batch |

`n` |
sample size of the bth data batch |

`family` |
exponential family of the reponses, including |

`construct` |
structure of covariance matrix for generating the covariate matrix |

`rho` |
the correlation coefficient in the covariance matrix, choices inlcude |

`categorical` |
set to TRUE to let some |

`seed` |
set random seed and the default is |

a data matrix containing response vector `y`

and covariate matrix `X`

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.