search for: df_d

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

Did you mean: df_df
2011 Mar 17
1
Using barplot() with zoo -- names.arg not permitted?
...cases -- such as "time" -- on an individual basis.) The data frame contains certain columns whose values are counters, so I generate a zoo of the diff(): oid = "kern.cp_time_" pat = paste("^", oid, sep = "") class(df$time) <- "POSIXct" df_d <- diff(zoo(df[, grep(pat, names(df))], order.by = df$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"...