Soft-deprecated for gsdd::gsdd_vctr()
.
Arguments
- x
A numeric vector of the mean daily water temperature values for the period of interest in C.
- ignore_truncation
A flag specifying whether to ignore truncation of the mean daily water temperature vector or a string of "start", "end", "none" (equivalent to FALSE) or "both" (equivalent to TRUE) specifying which type of truncation to ignore.
- min_length
A whole number of the minimum length to consider. Must be at least twice the window width but no more than 365. If NULL then set to be the difference between
start_date
andend_date
(ignoring the year).- msgs
A flag specifying whether to provide messages.
Examples
gsdd_cf(c(rep(1, 10), rep(10, 20), rep(1, 200)))
#> Warning: `gsdd_cf()` was deprecated in teckfish 0.1.2.
#> ℹ Please use `gsdd::gsdd_vctr()` instead.
#> [1] 208
gsdd_cf(gsdd::temperature_data$temperature)
#> [1] 3898.806