Commit 6370357a authored by Holger Brandl's avatar Holger Brandl
Browse files

removed deprecated code

parent 2ab5a283
......@@ -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)),]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment