# NOT RUN {
# get example data and allocate
df <- WeatherAllocation(leaf_drying_data, weather_data)
# extend df by transpiration in mmol s^-1 m^-2
df_with_transpiration <- Transpiration(df, fresh.weight = "fresh.weight")
# extend df by transpiration in mg s^-1 m^-2
df_with_transpiration <- Transpiration(df, fresh.weight = "fresh.weight", output.unit = "mg")
# }
Run the code above in your browser using DataLab