View source: R/compute_flux_gradient_layer.R
| compute_flux_gradient_layer | R Documentation |
Computes Fick's law of diffusion between two values
compute_flux_gradient_layer(depths, co2, co2_err, diffus, diffus_err)
depths |
Required. Depths that the compute the flux (2 values) |
co2 |
Required. CO2 molar concentration (2 values, corresponding to depths) |
co2_err |
Required. Error in co2 (2 values, corresponding to depths) |
diffus |
Required. Diffusivity (a single value) |
diffus_err |
Required. Diffusive error (a single value) |
Tibble of depth, flux, and error. The depth is the mean between the depths
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
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.