search for: df_pct

Displaying 1 result from an estimated 1 matches for "df_pct".

Did you mean: df_mat
2011 Mar 17
1
Using barplot() with zoo -- names.arg not permitted?
...$time)) I then save the start & end timestamps for future reference, and generate another zoo, this one containing only the percentages from df_d: cpu_states <- c("sys", "intr", "user", "nice", "idle") d_range <- range(index(df_d)) df_pct <- sweep(df_d, 1, apply(df_d, 1, sum), "/")[, paste(oid, cpu_states[1:4], sep = "")] * 100 Well, that is, I save the percentages in which I'm interested. So far, so good. df_pct is a zoo (as expected, and the content looks reasonable. I then plot it, e.g.: barplot(df...