Permalink
Browse files

Fix silly bug picked up by R CMD check

  • Loading branch information...
1 parent 47097cd commit 742544238db0c2526599bbf24bf9db455edc13d2 @hadley committed Mar 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/helper-strip-splits.r
View
@@ -11,5 +11,5 @@
#' dlply(mtcars, c("vs", "am"))
#' dlply(mtcars, c("vs", "am"), strip_splits)
strip_splits <- function(df) {
- x[setdiff(names(df), attr(df, "vars"))]
+ df[setdiff(names(df), attr(df, "vars"))]
}

0 comments on commit 7425442

Please sign in to comment.