Useful Functions for Building Physics

A collection of functions useful for the analysis of building physics experiments.

homeR is a collection of functions that we have found useful at Neurobat in the analysis of experiments on buildings.


Get the released version from CRAN:


Or the development version from GitHub:

# install.packages("devtools")

Building the package

We recommend using RStudio to build this package. Make sure you have the latest version installed (I'm currently using 0.99.896), and make also sure you have roxygen2 and testthat installed:


From RStudio, create a new project (File -> New Project -> Existing Directory) and give the project directory. Configure RStudio to build the documentation from Roxygen: Build -> Configure Build Tools -> Generate documentation with Roxygen. Under "Configure" ensure that "Rd files" and "NAMESPACE file" are checked.

Verify that you can build the package by running Document (Shift-Ctrl/Cmd-D) and Test Package (Shift-Ctrl/Cmd-T).

Committing generated files

The NAMESPACE and *.Rd files, although generated from the sources, should be committed and kept under Git so that anyone cheking out the project from GitHub can build and install it from the command line.


homeR 0.3.0

New features

  • New vcov.bhm() function returns the covariance matrix estimated at the posterior's mode.
  • New logposterior() function returns the log-posterior function for the model's data.
  • User can specify a fixed base load.

homeR 0.2

New features

  • New bhm() function estimates a building's heating coefficients (total heat loss coefficient, base temperature, etc).

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.3.0 by David Lindelöf, 2 years ago

Browse source code at

Authors: Neurobat AG

Documentation:   PDF Manual  

GPL (>= 2) license

Suggests testthat, plyr

See at CRAN