step_baro_least_squares | R Documentation |
Least squares solution for calculating barometric efficiency
step_baro_least_squares(
.rec,
water_level,
barometric_pressure,
lag_space = 1L,
inverse = FALSE,
differences = FALSE,
role = "augment",
...
)
.rec |
the R6 recipe object. |
lag_space |
|
inverse |
|
differences |
|
role |
character - the name of the role |
... |
additional arguments |
barometric efficiency using least squares
Other barometric:
step_baro_clark()
,
step_baro_harmonic()
data(kennel_2020)
least_squares <- recipe(wl~., kennel_2020) |>
step_baro_least_squares(wl, baro) |> # 1 minutes (every minute differences)
step_baro_least_squares(wl, baro, lag_space = 1440, differences = TRUE) |> # 1440 minutes (daily differences)
prep() |>
bake()
least_squares$get_step_data("barometric_efficiency")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.