water_level_conversion | R Documentation |
Convert to Inches
water_level_conversion(
baro_df,
water_df,
baro_elev,
hobo_elev,
gage_height = NULL,
gh_date = NULL,
var_select = c("abs_pres_water", "abs_pres_baro", "GH", "gage_height"),
method = "lasso.select.norm"
)
baro_df |
A data.frame with column abs_pres and dt. |
water_df |
A data.frame with column abs_pres and dt. |
baro_elev |
Elevation in feet at the barometer site. |
hobo_elev |
Elevation in feet at the gage site. |
gh_date |
A character vector for the date of |
var_select |
A character vector indicating what variables to use with |
method |
A character indicating what method to use in |
gh |
A numeric vector indicating the gage height for a particular day(s). |
The gh
and gh_date
parameters will perform differently if the
vector length 1, e.g. one gh_date and gh. It will just subtract or add to
the height at that date going forward; however, if greater than 1 then gh
and gh_date
will be used to try and 'calibrate'
the height of the transducer to a 'observed' gage height height_imp
using mice::mice(method = 'lasso.norm')
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.