#' Logistic Regression
#'
#' basic_logistic_reg function that performs logistic regression, implemented here for baseline unit testing.
#'
#' @param x the design matrix, with predictors as columns.
#' @param y the response vector.
#' @return vector of coefficients.
#' @export
basic_logistic_reg<-function(x,y){
#print('Calling Rcpp function logistic_reg_')
return(basic_logistic_reg_(x, y))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.