search for: availablemwnewformat

Displaying 2 results from an estimated 2 matches for "availablemwnewformat".

2012 Jun 06
5
ggplot incorrect legend
...FuelTypeNum)) + geom_bar(position="stack", stat="identity") + scale_colour_hue('my legend', breaks = levels(tempTable$FuelTypeNum), labels=c('Bio', 'Coal', 'Gas', 'Hydro','Other')) tempTable: FuelTypeNum Bands8 AvailableMW AvailableMWNewFormat SubPercent 1 1 PB0 185351 185.351 4.355864e-03 2 2 PB0 25994753 25994.753 6.108928e-01 3 4 PB0 1369528 1369.528 3.218476e-02 4 5 PB0 14522521 14522.521 3.412883e-01 5 10...
2012 Jun 08
2
Percent of a given subset
How would I find the Percent of FuelTypeNum within the Band given AvailableMW? example: type 1 is 1% of PB0 type 2 is 54% of PB0 type 4 is 4% of PB0 type 5 is 42% of PB0 Note: the Bands and fuel types are not always constant. Data: FuelTypeNum Bands AvailableMW AvailableMWNewFormat 1 PB0 185319 185.319 2 PB0 18352000 18352 4 PB0 1338785 1338.785 5 PB0 14189756 14189.756 2 PB1 48229 48.229 5 PB1 792433 792.433 2 PB2 7034959 7034.959 4 PB2 796 0.796 5 PB2 1652519 1652.519 1 PB3 16 0.016 2 PB3 11633 11.633 4 PB3 8076 8.076 5 PB3 97410 97.41 1 PB4 4610 4.61 2 PB4 3048 3.048 4 PB4...