diff --git a/R/core_commons.R b/R/core_commons.R index c6627286f43aa156d6a2d67ebfe51bfbb14b5f74..149f9bcffc1c944c5ece3dc6425401786f4fb54d 100644 --- a/R/core_commons.R +++ b/R/core_commons.R @@ -81,10 +81,6 @@ as.df <- function(dt) as.data.frame(dt) ######################################################################################################################## #### data.frame manipulation -## Deprecated: use dplyr::sample_n instead -#subsample <- function(df, sampleSize, ...){ -# df[sample(1:nrow(df), min(sampleSize, nrow(df)), ...),] -#} shuffle <- function(df) df[sample(nrow(df)),]