R/RcppExports.R

Defines functions predictlogisticRegression

Documented in predictlogisticRegression

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

#' Predicting using a logistic regression fitted with RCpp::fast_LR.
#' 
#' This function returns a numeric vector containing the probability of each observation of being of class 1 given a vector of logistic
#' regression parameters (usually estimated through RCpp::fast_LR).
#'
#' @param test A matrix containing test data
#' @param parameters A vector containing the logistic regression parameters
#' @export
predictlogisticRegression <- function(test, parameters) {
    .Call('_glmdisc_predictlogisticRegression', PACKAGE = 'glmdisc', test, parameters)
}

Try the glmdisc package in your browser

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

glmdisc documentation built on Oct. 23, 2020, 7:12 p.m.