>Error in plot.window(xlim, ylim, log = log, ...) : need finite 'xlim' values

barplot(table(hos1$color,hos1$AGE),legend=levels(hos1$color))

Error in plot.window(xlim, ylim, log = log, ...) :
need finite 'xlim' values
In addition: Warning messages:
1: In min(w.l) : no non-missing arguments to min; returning Inf
2: In max(w.r) : no non-missing arguments to max; returning -Inf
3: In min(x) : no non-missing arguments to min; returning Inf
4: In max(x) : no non-missing arguments to max; returning -Inf

i want to see the contribution of color at each cut bar but im getting error ...........,

Please post the output of

dput(table(hos1$color,hos1$AGE))

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.