# Calculate relative humidity from air temperature and
# dew point temperature.
data(lyon)
lyon$RH <- dewpoint.to.humidity(t = lyon$TemperatureC,
dp = lyon$DewpointC,
temperature.metric = 'celsius')
lyon
Run the code above in your browser using DataLab