I have recently created a bar in R using some sample data with no problem, Tried to use the actual data that was similar to the sample data, but moreover it was more. The problem is that I get this error:
error in barplot.default (table): 'height' should be a vector or matrix
< P> I do not know whether it is of help, but when I print the table, then this is what the last lines look like. 33333 2010-09-13-19: 25: 50.206 Google Chrome- # 135 NA [Exit ("max.print") - 342611 rows left]]
Is it possible to have too much data to process this?
thanks :)
edit 1
O Joris,
here string ( The information is from):
'data.frame': 375944 Object 3 variables: $ TIME: Factor w / 375944 level "2010-09-11-19: 28: 34.680" , ..: 1 2 3 4 5 6 7 8 9 10 ... $ FOCUS.APP: Factor Y / 107 Level "Finder- # 101", ..: 3 3 3 3 3 3 3 3 1 1 ... $ X: Logji NA NA NA NA NA NA ...
and from traceback ()
3: stop ("'height is a vector or matrix Should be ') 2: barplot.default (table of data) 1: barplot (table of data)
Also told the order that you told me, but the feedback was super verbose, too much to print here. Tell me if you need any other information or if the final information is really important, then I will post it One way to understand.
Thanks,
Ah, that is the solution to the problem Does: You have 3 dimensions in your table, Rplot take two columns to use for those who can not deal with that Barplat functions, such as:
# sample data DF & lt; - data.frame (by TIME = as.factor (seq.Date (as.Date "2010-09-11"), as.Date ("2010-09-20"), = "day"), focus.asp = Like. Factor (C ("F-101", "F-102"), Table (DF) T2 and Lt; - Table (DF [, - 3]) #, Table 1 (Table) (DF [ Plot Table Barplot (T1) Barplot (T2)
This is called , That the conspiracy should be interesting to say the least. I do not know what you try to do, but I can say that you To do this, you can reconsider your view.
Comments
Post a Comment