R/RcppExports.R

Defines functions namesAndCorrs checkcor GCV update setupGCV

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

#' Check Spearman correlations between interactions in X and treatment
#' 
#' @param y A arma::vector of outcomes.
#' @param X A arma::matrix of spline bases.
#' @param alpha.schedule The prior on lambda
#' @export
NULL

setupGCV <- function(y, X, alphas) {
    .Call('_MDEI_setupGCV', PACKAGE = 'MDEI', y, X, alphas)
}

update <- function(L, tol) {
    .Call('_MDEI_update', PACKAGE = 'MDEI', L, tol)
}

GCV <- function(y, X, alphas, tol) {
    .Call('_MDEI_GCV', PACKAGE = 'MDEI', y, X, alphas, tol)
}

checkcor <- function(X, thresh) {
    .Call('_MDEI_checkcor', PACKAGE = 'MDEI', X, thresh)
}

namesAndCorrs <- function(XSubsamp, ySubsamp, treatSubsamp, XConstruct, treatConstruct, XConstructDerivative, treatConstructDerivative, a) {
    .Call('_MDEI_namesAndCorrs', PACKAGE = 'MDEI', XSubsamp, ySubsamp, treatSubsamp, XConstruct, treatConstruct, XConstructDerivative, treatConstructDerivative, a)
}

Try the MDEI package in your browser

Any scripts or data that you put into this service are public.

MDEI documentation built on May 4, 2023, 9:09 a.m.