Skip to content

Commit

Permalink
Merge branch 'master' into staging
Browse files Browse the repository at this point in the history
set default min.dt = 0
  • Loading branch information
Ian Jonsen committed Nov 13, 2023
2 parents c5e119b + 80b110c commit 130ac8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* addition of plot method for `sim_post` objects
* `sim_filter()` can now use arbitrary variables, including user-appended environmental variables, for filtering tracks simulated with `sim_fit()`
* `sim_fit()` now simulates tracks from user-specified `start` and `end` locations that differ from the estimated track start and end.
* `fit_ssm()` now handles "generic location" data provided the locations have `x` and `y` standard errors. These data can be light-level geolocations, acoustic telemetry positions, or other location data. Input data should have `lc = "GL"` for all generic locations.
* a change to the `min.dt` argument in `fit_ssm()`, the default is now `min.dt = 0` (no minimum time interval between observations, but any subsequent observations that occur at the same time are ignored when fitting an SSM).
* fixed an issue with high temporal resolution data, where prediction times exactly match observation times when observations occur 1 s apart. This caused an error when fitting SSM's.

Expand Down
2 changes: 1 addition & 1 deletion R/fit_ssm.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ fit_ssm <- function(x,
ang = c(15,25),
distlim = c(2500,5000),
spdf = TRUE,
min.dt = NA,
min.dt = 0,
pf = FALSE,
model = "crw",
time.step = NA,
Expand Down
2 changes: 1 addition & 1 deletion man/fit_ssm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 130ac8d

Please sign in to comment.