[R] coerce data to numeric

2014-12-03 Thread Charles R Parker
I am trying to create groups of barplots from data that have different number of records in the groups, in such a way that all of the plots will have the same numbers and sizes of bars represented even when some of the groups will have some bars of zero height. The goal then would be to display

Re: [R] coerce data to numeric

2014-12-03 Thread Chel Hee Lee
In your function 'nbars()', I see the line: tX = rbind(tX, as.data.frame(cbind(GId = ,Grp = names(sG[n]), S = fm, T = fm))) It seems that you wish to have a data frame that has numeric variables 'S' and 'T'. The reason why you have character variables of 'S' and 'T' from