| 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 |
// CIndex |
| 9 |
double CIndex(NumericVector yhat, NumericVector y, SEXP status, Nullable<NumericVector> w); |
| 10 |
RcppExport SEXP _cindex_CIndex(SEXP yhatSEXP, SEXP ySEXP, SEXP statusSEXP, SEXP wSEXP) { |
| 11 |
BEGIN_RCPP |
| 12 |
Rcpp::RObject rcpp_result_gen; |
| 13 |
Rcpp::RNGScope rcpp_rngScope_gen; |
| 14 |
Rcpp::traits::input_parameter< NumericVector >::type yhat(yhatSEXP); |
| 15 |
Rcpp::traits::input_parameter< NumericVector >::type y(ySEXP); |
| 16 |
Rcpp::traits::input_parameter< SEXP >::type status(statusSEXP); |
| 17 |
Rcpp::traits::input_parameter< Nullable<NumericVector> >::type w(wSEXP); |
| 18 |
rcpp_result_gen = Rcpp::wrap(CIndex(yhat, y, status, w)); |
| 19 |
return rcpp_result_gen; |
| 20 |
END_RCPP |
| 21 |
} |
| 22 |
|
| 23 |
static const R_CallMethodDef CallEntries[] = { |
| 24 |
{"_cindex_CIndex", (DL_FUNC) &_cindex_CIndex, 4}, |
| 25 |
{NULL, NULL, 0} |
| 26 |
}; |
| 27 |
|
| 28 |
RcppExport void R_init_cindex(DllInfo *dll) { |
| 29 |
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL); |
| 30 |
R_useDynamicSymbols(dll, FALSE); |
| 31 |
} |