Skip to content

Commit

Permalink
removed warning message from melt
Browse files Browse the repository at this point in the history
  • Loading branch information
heike committed Aug 20, 2015
1 parent 597d9ba commit 771d473
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Depends:
Imports:
ggplot2 (>= 0.9.2),
reshape2,
plyr
plyr,
stats
Suggests:
RColorBrewer
URL: http://github.com/heike/ggparallel
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
YEAR: 2012-2014
YEAR: 2012-2015
COPYRIGHT HOLDER: Heike Hofmann; Marie Vendettuoli
2 changes: 2 additions & 0 deletions R/parallel.R
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ ggparallel <- function(vars=list(), data, weight=NULL, method="angle",
}
gr[[1]] <- list(gr[[1]], scale_size(guide="none", range=ratio*prange))
}

subdata <- data[,c("weight", unlist(vars))]
for (i in unlist(vars)) subdata[,i] <- as.character(subdata[,i])
dfm <- melt(subdata, id.var="weight")
names(dfm)[3] <- "Nodeset"
dfm$Nodeset <- factor(dfm$Nodeset, levels=llist)
Expand Down

0 comments on commit 771d473

Please sign in to comment.