Skip to content

Commit

Permalink
make invisible
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Dec 10, 2013
1 parent 75423aa commit 0e45da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/listbyindustry.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ listbyindustry <- function(){
newtable <- with(stocktable, data.frame(id=paste0("symbol_", Ticker), text=paste(Ticker, "-", Company), leaf=TRUE, Industry=Industry, Sector=Sector));
mydata <- splitIntoTree(newtable, "Sector");
mydata$children <- lapply(mydata$children, splitIntoTree, f="Industry", out=c("id", "text", "leaf"));
return(list("text"=".", children=mydata))
invisible(list("text"=".", children=mydata))
}

splitIntoTree <- function(x, f, out){
Expand Down

0 comments on commit 0e45da2

Please sign in to comment.