Function to create a toy dataset for package testing
makeToyData.Rd
Function to create a toy dataset for package testing
Arguments
- n
number denoting the amount of data to generate.
- changecoef.link
Coefficient on the scale of the link function to determine the overall change in the population.
- length.panels
vector denoting the length of the panels to be created.
- binary
logical (default = FALSE) denoting whether to generate binary data. If FALSE, poisson data is generated.
- b0
intercept parameter