// CIDnetworks C++ code snippets. #include using namespace Rcpp; // [[Rcpp::export]] double logLikeSourceC (int edge1, int edge2, int edgeval, NumericMatrix logitb, IntegerVector group, NumericVector covariateRow, NumericVector beta) { int jj; double out; double xbeta = 0; for (jj=0; jj