Skip to content

Commit

Permalink
Develop pf_kud_*() approaches.
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardlavender committed Sep 14, 2021
1 parent 8502283 commit df2a042
Show file tree
Hide file tree
Showing 7 changed files with 533 additions and 138 deletions.
3 changes: 2 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ export(make_matrix_receivers)
export(mask_io)
export(pf)
export(pf_animate_history)
export(pf_kud)
export(pf_kud_1)
export(pf_kud_2)
export(pf_loglik)
export(pf_plot_1d)
export(pf_plot_2d)
Expand Down
2 changes: 1 addition & 1 deletion R/flapper-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
#' \item \link{pf_animate_history} animates simulated particle histories;
#' \item \link{pf_simplify} assembles movement paths from particle histories;
#' \item \link{pf_plot_map} maps the `probability of use' across an area based on sampled particles or reconstructed paths;
#' \item \link{pf_kud} applies a kernel smoother to sampled particles or reconstructed paths;
#' \item \link{pf_kud_1} and \link{pf_kud_2} apply kernel smoothers to sampled particles or reconstructed paths;
#' \item \link{pf_loglik} calculates the log-likelihood of reconstructed paths, given the movement model;
#' \item \link{pf_plot_1d} plots the depth time series from observed and reconstructed paths;
#' \item \link{pf_plot_2d} maps the reconstructed paths in two-dimensions;
Expand Down
477 changes: 377 additions & 100 deletions R/pf_analyse_either.R

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ Each algorithm (AC, DC and ACDC) can be extended through incorporation of a move
* `pf_animate_history()` animates simulated particle histories;
* `pf_simplify()` assembles movement paths from particle histories;
* `pf_plot_map()` maps the 'probability of use' across an area based on sampled particles or reconstructed paths;
* `pf_kud()` applies a kernel smoother to sampled particles or reconstructed paths;
* `pf_kud_1()` and `pf_kud_2()` apply kernel smoothers to sampled particles or reconstructed paths;
* `pf_loglik()` calculates the log-likelihood of reconstructed paths, given the movement model;
* `pf_plot_1d()` plots the depth time series from observed and reconstructed paths;
* `pf_plot_2d()` maps the reconstructed paths in two-dimensions;
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ process provided by the `pf*()` family of functions:
- `pf_simplify()` assembles movement paths from particle histories;
- `pf_plot_map()` maps the ‘probability of use’ across an area based
on sampled particles or reconstructed paths;
- `pf_kud()` applies a kernel smoother to sampled particles or
reconstructed paths;
- `pf_kud_1()` and `pf_kud_2()` apply kernel smoothers to sampled
particles or reconstructed paths;
- `pf_loglik()` calculates the log-likelihood of reconstructed paths,
given the movement model;
- `pf_plot_1d()` plots the depth time series from observed and
Expand Down
2 changes: 1 addition & 1 deletion man/flapper.Rd

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

181 changes: 149 additions & 32 deletions man/pf_kud.Rd

Large diffs are not rendered by default.

0 comments on commit df2a042

Please sign in to comment.