comf: An R Package for Thermal Comfort Studies

The field of thermal comfort generated a number of thermal comfort indices. Their code implementation needs to be done by individual researchers. This paper presents the R package, comf, which includes functions for common and new thermal comfort indices. Additional functions allow comparisons between the predictive performance of these indices. This paper reviews existing thermal comfort indices and available code implementations. This is followed by the description of the R package and an example how to use the R package for the comparison of different thermal comfort indices on data from a thermal comfort study.

Marcel Schweiker

CRAN packages used


CRAN Task Views implied by cited packages


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Schweiker, "The R Journal: comf: An R Package for Thermal Comfort Studies", The R Journal, 2016

BibTeX citation

  author = {Schweiker, Marcel},
  title = {The R Journal: comf: An R Package for Thermal Comfort Studies},
  journal = {The R Journal},
  year = {2016},
  note = {},
  doi = {10.32614/RJ-2016-050},
  volume = {8},
  issue = {2},
  issn = {2073-4859},
  pages = {341-351}