INNER CODE UNIT · C++
_bigsnpr_ldpred2_gibbs_one_sampling
privefl/bigsnpr · src/RcppExports.cpp:363
RcppExport SEXP _bigsnpr_ldpred2_gibbs_one_sampling(SEXP corrSEXP, SEXP beta_hatSEXP, SEXP n_vecSEXP, SEXP ind_subSEXP, SEXP h2SEXP, SEXP pSEXP, SEXP sparseSEXP, SEXP burn_inSEXP, SEXP num_iterSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Environment >::type corr(corrSEXP);
Rcpp::traits::input_parameter< const NumericVector& >::type beta_hat(beta_hatSEXP);
Rcpp::traits::input_parameter< const NumericVector& >::type n_vec(n_vecSEXP);
Rcpp::traits::input_parameter< const IntegerVector& >::type ind_sub(ind_subSEXP);
Rcpp::traits::input_parameter< double >::type h2(h2SEXP);
Rcpp::traits::input_parameter< double >::type p(pSEXP);
Rcpp::traits::input_parameter< bool >::type sparse(sparseSEXP);
Rcpp::traits::input_parameter< int >::type burn_in(burn_inSEXP);
Rcpp::traits::input_parameter< int >::type num_iter(num_iterSEXP);
rcpp_result_gen = Rcpp::wrap(ldpred2_gibbs_one_sampling(corr, beta_hat, n_vec, ind_sub, h2, p, sparse, burn_in, num_iter));
return rcpp_result_gen;
END_RCPP
}
// ldpred2_gibbs_one