search for: availablemw

Displaying 3 results from an estimated 3 matches for "availablemw".

Did you mean: available
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 141897...
2012 Jul 03
1
remove loop which compares row i to row i-1
...cks. ifelse(tUnitsort[i,4]>=tUnitsort[i-1,4],(tempAC =tUnitsort[i,7]-(tUnitsort[i,8]-tUnitsort[i,9])),tempAC ) tUnitsort$MC[i] <- tempMC tUnitsort$AC[i] <- tempAC tUnitsort$PercentofMC[i] <- tUnitsort$Size[i]/tempMC tUnitsort$PercentofAC[i] <- tUnitsort$AvailableMW[i]/tempAC } -- View this message in context: http://r.789695.n4.nabble.com/remove-loop-which-compares-row-i-to-row-i-1-tp4635327.html Sent from the R help mailing list archive at Nabble.com.
2012 Jun 06
5
ggplot incorrect legend
...rcent, fill=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.4128...