1 // Generated by using Rcpp::compileAttributes() -> do not edit by hand
2 // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
3 
4 #include <Rcpp.h>
5 
6 using namespace Rcpp;
7 
8 // RcppVersion
9 String RcppVersion();
_pROC_RcppVersion()10 RcppExport SEXP _pROC_RcppVersion() {
11 BEGIN_RCPP
12     Rcpp::RObject rcpp_result_gen;
13     Rcpp::RNGScope rcpp_rngScope_gen;
14     rcpp_result_gen = Rcpp::wrap(RcppVersion());
15     return rcpp_result_gen;
16 END_RCPP
17 }
18 // delongPlacementsCpp
19 List delongPlacementsCpp(List roc);
_pROC_delongPlacementsCpp(SEXP rocSEXP)20 RcppExport SEXP _pROC_delongPlacementsCpp(SEXP rocSEXP) {
21 BEGIN_RCPP
22     Rcpp::RObject rcpp_result_gen;
23     Rcpp::RNGScope rcpp_rngScope_gen;
24     Rcpp::traits::input_parameter< List >::type roc(rocSEXP);
25     rcpp_result_gen = Rcpp::wrap(delongPlacementsCpp(roc));
26     return rcpp_result_gen;
27 END_RCPP
28 }
29 // rocUtilsPerfsAllC
30 List rocUtilsPerfsAllC(NumericVector thresholds, NumericVector controls, NumericVector cases, std::string direction);
_pROC_rocUtilsPerfsAllC(SEXP thresholdsSEXP,SEXP controlsSEXP,SEXP casesSEXP,SEXP directionSEXP)31 RcppExport SEXP _pROC_rocUtilsPerfsAllC(SEXP thresholdsSEXP, SEXP controlsSEXP, SEXP casesSEXP, SEXP directionSEXP) {
32 BEGIN_RCPP
33     Rcpp::RObject rcpp_result_gen;
34     Rcpp::RNGScope rcpp_rngScope_gen;
35     Rcpp::traits::input_parameter< NumericVector >::type thresholds(thresholdsSEXP);
36     Rcpp::traits::input_parameter< NumericVector >::type controls(controlsSEXP);
37     Rcpp::traits::input_parameter< NumericVector >::type cases(casesSEXP);
38     Rcpp::traits::input_parameter< std::string >::type direction(directionSEXP);
39     rcpp_result_gen = Rcpp::wrap(rocUtilsPerfsAllC(thresholds, controls, cases, direction));
40     return rcpp_result_gen;
41 END_RCPP
42 }
43 
44 static const R_CallMethodDef CallEntries[] = {
45     {"_pROC_RcppVersion", (DL_FUNC) &_pROC_RcppVersion, 0},
46     {"_pROC_delongPlacementsCpp", (DL_FUNC) &_pROC_delongPlacementsCpp, 1},
47     {"_pROC_rocUtilsPerfsAllC", (DL_FUNC) &_pROC_rocUtilsPerfsAllC, 4},
48     {NULL, NULL, 0}
49 };
50 
R_init_pROC(DllInfo * dll)51 RcppExport void R_init_pROC(DllInfo *dll) {
52     R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
53     R_useDynamicSymbols(dll, FALSE);
54 }
55