degree_raw | R Documentation |
Calculate the difference between outdoor temperature and a base temperature, without considering the frequency of the original data.
degree_raw(
data,
featuresName,
baseTemperature = 18,
outputFeaturesName = NULL,
mode = "heating",
maxValue = NULL,
baseTemperatureName = NULL,
hysteresisBaseTemperature = 2,
inplace = T
)
data |
<data.frame> containing the series with data. The time zone of the datetimes must be UTC. The other variables describing the series are directly bypassed to the output. |
featuresName |
<string> giving the column name of the outdoor temperature feature. |
baseTemperature |
<float> describing the Balance Point Temperature (BPT) used in the calculation. Below BPT in heating mode, heat would be required by the building. The contrary in the case of cooling, over BPT in cooling mode. |
outputFeaturesName |
optional, <string> giving the column name used as output of the transformation. By default, "heating" or "cooling" depending the mode used in the transformation. |
mode |
<string> describing the calculation mode, which could be "cooling" or "heating". By default, "heating" is configured. |
maxValue |
<float> defining the maximum degree days allowed as output. |
baseTemperatureName |
<string> giving the column name of the baseTemperature if it's available in data. In this case baseTemperature parameter is ignored. |
inplace |
<boolean> indicating if the output should be the original data argument, plus the transformed objects -True- , or only the transformed series -False. |
<data.frame> of the difference between the temperature argument and the selected base temperature, mantaining the original frequency of temperature.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.