From 6370357a0ef833941911178b6536dafae13b0a9e Mon Sep 17 00:00:00 2001 From: Holger Brandl <brandl@mpi-cbg.de> Date: Wed, 4 Mar 2015 13:44:02 +0100 Subject: [PATCH] removed deprecated code --- R/core_commons.R | 4 ---- 1 file changed, 4 deletions(-) diff --git a/R/core_commons.R b/R/core_commons.R index c662728..149f9bc 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)),] -- GitLab