Skip to content

Commit

Permalink
fixed small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinTh committed Feb 1, 2017
1 parent e3b750c commit 32d99b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pad.R
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ pad_multiple <- function(x,
stop('Not all grouping variables are column names of x.')
}

groupings <- unique(x[, colnames(x) %in% group])
groupings <- unique(x[, colnames(x) %in% group, drop = FALSE])
padded_groups <- vector("list", nrow(groupings))

for (i in 1:nrow(groupings)){
Expand Down

0 comments on commit 32d99b7

Please sign in to comment.