w2q {aiRthermo} | R Documentation |
This function calculates the specific humidity from a given Water mixing ratio.
w2q(w)
w |
A vector with mixing ratio values in kg/kg. |
The function returns a vector with the specific humidity.
data(RadiosondeD) dws<-RadiosondeD[,6]/1000 w2q(dws)