powered by
Computes Fick's law of diffusion between two values
compute_flux_gradient_layer(depths, co2, co2_err, diffus, diffus_err)
Tibble of depth, flux, and error. The depth is the mean between the depths
Required. Depths that the compute the flux (2 values)
Required. CO2 molar concentration (2 values, corresponding to depths)
Required. Error in co2 (2 values, corresponding to depths)
Required. Diffusivity (a single value)
Required. Diffusive error (a single value)
compute_flux_gradient_layer(depths = c(-0.03,-0.09), co2 = c(28030, 66834.66), co2_err = c(1327,1246), diffus = 7.13e-06, diffus_err = 3.44e-6 )
Run the code above in your browser using DataLab