Displaying 1 result from an estimated 1 matches for "plot_states".
2011 Feb 22
0
Advice/suggestions on using a stacked barplot with "zoo"?
...I had cobbled up a function that
seemed to work, at least as much as I tested it (not much!); its use did
manage to avoid the coercion to matrux & back to zoo.)
Here are some samples:
> cpu_states
[1] "user" "nice" "sys" "intr" "idle"
> plot_states
[1] "sys" "intr" "user" "nice"
> CPU[1:10]
user nice sys intr idle
1298333405 28722903 25098 4900282 1809059 2811144985
1298333415 28722906 25098 4900289 1809059 2811155661
1298333425 28723842 25098 4900478 1809068 2811165209...