Displaying 3 results from an estimated 3 matches for "kwhs".
Did you mean:
kwds
2006 Oct 19
1
Newbie: Selecting data
...R for all of about 8 hours, so anyone with more
experience than this should be able to help me. General comments about
my methods of work are also welcomed.
I have a table that I've imported thusly:
> w <- read.table("woodford.data", header=T)
> w
start therms gas KWHs elect temp days
1 10-Jun-98 9 16.84 613 63.80 75 40
2 20-Jul-98 6 15.29 721 74.21 76 29
3 18-Aug-98 7 15.73 597 62.22 76 29
4 16-Sep-98 42 35.81 460 43.98 70 33
5 19-Oct-98 105 77.28 314 31.45 57 29
6 17-Nov-98 106 77.01 342 33.8...
2006 Oct 26
2
Newbie: Better way to do compound conditionals in subset?
...ormat = "%d-%b-%y"), select=c(therms,temp,days))
> before2sw <- subset(before2sw2, temp < 65)
Is it also possible to combine in this step:
attach(before2sw)
before2sw.HDD <- therms / (65 - temp) * days
My data looks like this:
> head(energy.data)
start therms gas KWHs elect temp days
1 10-Jun-98 9 16.84 613 63.80 75 40
2 20-Jul-98 6 15.29 721 74.21 76 29
3 18-Aug-98 7 15.73 597 62.22 76 29
4 16-Sep-98 42 35.81 460 43.98 70 33
5 19-Oct-98 105 77.28 314 31.45 57 29
6 17-Nov-98 106 77.01 342 33.86 48 30
>
T...
2006 Oct 20
2
Dataset on Baltimore home energy costs
...lected from monthly utility bills for my 80 year old
house in northern Baltimore City, Maryland, USA. The fields are:
start: date of start of billing period
therms: integer number of therms used in this billing period
gas: Total cost of gas (including delivery and commodity charges) for
natural gas
KWHs: integer number of KWH used in this billing period
elect: Total cost of electricity (including delivery and commodity
charges)
temp: average daily outdoor temperature in degrees Fahrenheit, as
printed on the bill
days: number of days in billing period.
Heating system is a 10-15 year old natural ga...