#include "tranprobs.h" using namespace Rcpp ; // constant model void tp1(arma::mat& g3, int nrI, int nrI1, Rcpp::IntegerVector N, arma::imat I, arma::imat I1, Rcpp::List Ib, Rcpp::List Ip, double gam, double om) { Rcpp::NumericVector pois1 = dpois(N, gam, true); arma::vec pois = as(pois1); arma::vec bin = arma::zeros(nrI1); for(int i=0; i(Ib[s]); arma::uvec indP = as(Ip[s]); int nc = indB.n_elem; for(int q=0; q