Generates the count table based on the mu_ij matrix, dispersion matrix, and replication matrix.
Usage
generateCountTable(mu_ij_matx_rep, matx_dispersion_rep)
Arguments
- mu_ij_matx_rep
Replicated mu_ij matrix
- matx_dispersion_rep
Replicated dispersion matrix
Examples
mu_ij_matx_rep <- matrix(1:12, nrow = 3, ncol = 4)
matx_dispersion_rep <- matrix(1:12, nrow = 3, ncol = 4)
generateCountTable(mu_ij_matx_rep, matx_dispersion_rep)
#> k_ij ~ Nbinom(mu_ij, dispersion)
#> [,1] [,2] [,3] [,4]
#> [1,] 2 4 6 14
#> [2,] 3 3 10 10
#> [3,] 0 3 16 5