unit_convert: Convert Temperature

Description Usage Arguments Value See Also Examples

View source: R/unit_convert.R

Description

Convert temperature from Fahrenheit to Celsius, or vice versa.

Usage

1
unit_convert(fahrenheit, celsius)

Arguments

fahrenheit

Numeric: A value of temperature in ºF to be converted to ºC

celsius

Numeric: A value of temperature in ºC to be converted to ºF

Value

Value in the other unit

See Also

ambient_temperature()

Other miscellaneous functions: adjust_timezone(), ambient_temperature(), apply_date_tags(), apply_hour_tags(), column_dt(), filter_df(), group_stad(), organize_stad(), rounding_w_zeroes(), wrangle_meta()

Examples

1
2
3
unit_convert(fahrenheit = 23)
unit_convert(celsius = 23)
dplyr::mutate(head(july_api_raw), temperature_c = unit_convert(fahrenheit = temperature))

gmcginnis/AirVizR documentation built on Dec. 20, 2021, 11:49 a.m.