R/prediction_remove.R

Defines functions prediction_remove

Documented in prediction_remove

#' Removes unwanted method from already existing methods in Test bench
#'
#' @param existing_method as Error observations for different methods
#' @param index_number as index number of unwanted method in study
#' @return it removes unwanted method from test bench and returns other method errors
#' @export
prediction_remove <- function(existing_method, index_number)
{
  existing_method[(3*(index_number - 1) + 3):(3*(index_number - 1) + 5)] <- NULL
  return(existing_method)
}

Try the PredictTestbench package in your browser

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

PredictTestbench documentation built on May 30, 2017, 3:13 a.m.