R/fread_sub.R

#' Bayesian Shrikage function
#'
#' A function of Bayesian shrinkage Estimator.
#'
#' @param file the file name to read (containing no \n character).
#' @param col a character of column names to load in.
#'
#' @return a data.table class object
#'
#' @export
fread_sub=function(file,col){
  fread(input=file,select=col)
}
xinzhou1023/shrinkest documentation built on May 4, 2019, 1:07 p.m.