Description Usage Arguments Value Author(s) Examples
This function generates data according to a user-specified INAR mixture model. It returns a data frame which can be used immediately by inarmix.
1 2 | GenerateMixData(m, coefs, autocorr, scale=NULL, mix, design.mat,
return.labels=F,poisson=F)
|
m |
a numeric scalar (the number of subjects) |
coefs |
a numeric vector |
autocorr |
a numeric scalar |
scale |
a numerica scalar |
mix |
a numeric vector |
design.mat |
a numeric matrix (the design matrix) |
return.labels |
an indicator of whether or not to return the class labels |
poisson |
an indicator of whether or not the data should have marginal Poisson distributions. |
A data frame which contains the response and a subject identifier. The other columns contain the data entered from the design.mat argument.
Nicholas Henderson
1 2 3 4 5 6 7 8 |
Loading required package: Matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.