#' Apply deltas (per cent changes) on absolute numeric and create search space
#' @param deltas A numeric vector of deltas as per cent chnanges. Can be negative and positive.
#' @param dataPoint A numeric upon which to apply deltas
#' @return A matrix space of new data points after application of delta.
#' @export
apply_vector_of_deltas_on_absolute_value_and_create_search_space = function(deltas,dataPoint){
o = sapply(X=deltas,FUN = function(x){
(1+x)*dataPoint
})
return(o)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.