// 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

// lcor_C_randomised
SEXP lcor_C_randomised(DataFrame data_df, NumericMatrix target, int passes);
RcppExport SEXP _LikertMakeR_lcor_C_randomised(SEXP data_dfSEXP, SEXP targetSEXP, SEXP passesSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< DataFrame >::type data_df(data_dfSEXP);
    Rcpp::traits::input_parameter< NumericMatrix >::type target(targetSEXP);
    Rcpp::traits::input_parameter< int >::type passes(passesSEXP);
    rcpp_result_gen = Rcpp::wrap(lcor_C_randomised(data_df, target, passes));
    return rcpp_result_gen;
END_RCPP
}
// score_items_cpp
List score_items_cpp(NumericMatrix dat, double target_alpha, double w_balance, double expected_mean);
RcppExport SEXP _LikertMakeR_score_items_cpp(SEXP datSEXP, SEXP target_alphaSEXP, SEXP w_balanceSEXP, SEXP expected_meanSEXP) {
BEGIN_RCPP
    Rcpp::RObject rcpp_result_gen;
    Rcpp::RNGScope rcpp_rngScope_gen;
    Rcpp::traits::input_parameter< NumericMatrix >::type dat(datSEXP);
    Rcpp::traits::input_parameter< double >::type target_alpha(target_alphaSEXP);
    Rcpp::traits::input_parameter< double >::type w_balance(w_balanceSEXP);
    Rcpp::traits::input_parameter< double >::type expected_mean(expected_meanSEXP);
    rcpp_result_gen = Rcpp::wrap(score_items_cpp(dat, target_alpha, w_balance, expected_mean));
    return rcpp_result_gen;
END_RCPP
}

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

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