// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#include <RcppArmadillo.h>
#include <Rcpp.h>

using namespace Rcpp;

#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>&  Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif

// cr_estim
NumericMatrix cr_estim(arma::mat& count_mat, arma::vec& refcounts, arma::mat& Delta, arma::mat& X);
RcppExport SEXP _ADAPT_cr_estim(SEXP count_matSEXP, SEXP refcountsSEXP, SEXP DeltaSEXP, SEXP XSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< arma::mat& >::type count_mat(count_matSEXP);
    Rcpp::traits::input_parameter< arma::vec& >::type refcounts(refcountsSEXP);
    Rcpp::traits::input_parameter< arma::mat& >::type Delta(DeltaSEXP);
    Rcpp::traits::input_parameter< arma::mat& >::type X(XSEXP);
    rcpp_result_gen = Rcpp::wrap(cr_estim(count_mat, refcounts, Delta, X));
    return rcpp_result_gen;
END_RCPP
}

static const R_CallMethodDef CallEntries[] = {
    {"_ADAPT_cr_estim", (DL_FUNC) &_ADAPT_cr_estim, 4},
    {NULL, NULL, 0}
};

RcppExport void R_init_ADAPT(DllInfo *dll) {
    R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
    R_useDynamicSymbols(dll, FALSE);
}
