Learn R Programming

meteor (version 0.4-5)

pwc: pwc

Description

pwc

Usage

# S4 method for numeric
pwc(x, input="wbgt", adjust=TRUE)

# S4 method for SpatRaster pwc(x, input="wbgt", adjust=TRUE, filename="", overwrite=FALSE, ...)

Value

numeric or SpatRaster

Arguments

x

numeric or SpatRaster

input

character. One of "wbgt" or "utci"

adjust

logical. If TRUE, the Smallcombe et al. (2022) adjustment for a 7-hour workday is used

filename

character. Output filename

overwrite

logical. If TRUE, filename is overwritten

...

additional arguments for writing files as in writeRaster

References

Smallcombe et al.. 2022

Foster et al., 2022

Examples

Run this code
pwc(25)

Run the code above in your browser using DataLab