teradata-aster-field / toaster

Tools for Aster in R
11 stars 2 forks source link

Method to create barcharts #43

Open grigory93 opened 8 years ago

grigory93 commented 8 years ago

Just as createHistogram takes care of the results from computeHistogram new method createBarchart would take care of the results of computeBarchart.

grigory93 commented 8 years ago

important feature to implement is ordering of bars by certain metric - in data frame terms:

circuitStats$circuit = factor(circuitStats$circuit, 
                                       levels = circuitStats$circuit[order(circuitStats$amps_avg)], 
                                      ordered = TRUE)