#Define soil and complete parameters
examplesoil = soil(defaultSoilParams(4))
soil_thermalConductivity(examplesoil)
soil_thermalCapacity(examplesoil)
#Values change when altering water content (drier layers have lower conductivity and capacity)
examplesoil$W = c(0.1, 0.4, 0.7, 1.0)
soil_thermalConductivity(examplesoil)
soil_thermalCapacity(examplesoil)
Run the code above in your browser using DataLab