efflux | R Documentation |
Calculate or extract the soil/atmosphere efflux
from cfp_pfres
or cfp_fgres
model results.
efflux(x, ...)
## S3 method for class 'cfp_pfres'
efflux(x, ...)
## S3 method for class 'cfp_fgres'
efflux(x, ..., method = "lm", layers = NULL)
## S3 method for class 'cfp_altres'
efflux(x, ...)
x |
A cfp_pfres or cfp_fgres model result, or a cfp_altres. |
... |
Arguments passed to methods. |
method |
Method(s) used to interpolate the efflux at the top of the soil from partial fluxes within the soil. One of
|
layers |
Vector of two integers selecting the layers for the |
A data.frame
with one row for each
combination of id_cols
and the column efflux
in µmol m^{-2}s^{-1}
.
my_dat <- ConFluxPro::base_dat |>
filter(Date < "2021-03-01") #subset to speed up example
PROFLUX <- pro_flux(my_dat)
FLUX <- fg_flux(my_dat)
efflux(PROFLUX)
efflux(FLUX)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.