Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
juniperlsimonis committed Jan 7, 2021
1 parent 7a8b83f commit e1c9c78
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 22 deletions.
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ export(EoApostL)
export(EoApostL_parameters)
export(EoApostM)
export(overlap)
importFrom(eoa,getData)
importFrom(eoa,posteriorLpdf)
importFrom(eoa,posteriorLpdf.ab)
importFrom(pracma,numdiff)
5 changes: 4 additions & 1 deletion R/EoApostL.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
#' \cr
#' \code{EoApostL_parameters} is for working with already fitted parameters
#' from potentially multiple models.
#'
#' @param X X
#' @param Ba Ba
#' @param Bb Bb
#' @param ids ids
#'
#'
#' @return \code{list} of posteriors of lambda.
Expand Down
16 changes: 6 additions & 10 deletions R/EoApostM.R
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
#' @title Posterior of M
#' @description Collect and process the posterior M from EoA.
#'
#' @param posterior Which of the three posteriors:
#' FSFY = full site full year,
#' FSMP = full site monitored period,
#' SAMP = searched area monitored period)
#' @param PCIp posterior credibility interval of interest
#' @param digits decimal places to leave (1: in raw posterior,
#' 2: in summary stats)
#' @title Posterior of M
#' @description Collect and process the posterior M from EoA.
#'
#' @param posterior Which of the three posteriors
#' @param PCIp posterior credibility interval of interest
#' @param digits decimal places to leave
#' @param ... ...
#' @return \code{list} of EmpiricalPosterior and SummaryStats
#'
#' @export
Expand Down
18 changes: 16 additions & 2 deletions R/EoAtools-package.R
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
#' @ImportFrom eoa getData posteriorLpdf posteriorLpdf.ab
#' @ImportFrom pracma numdiff
#' @importFrom eoa getData posteriorLpdf posteriorLpdf.ab
#' @importFrom pracma numdiff


#' @title Tools for working with Evidence of Absence (EoA)
#'
#' @description Tools for working with Evidence of Absence (EoA).
#'
#' @name EoAtools
#'
#' @docType package
#'
#' @keywords package
#'
#'
NULL
9 changes: 9 additions & 0 deletions man/EoApostL.Rd

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

20 changes: 11 additions & 9 deletions man/EoApostM.Rd

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

10 changes: 10 additions & 0 deletions man/EoAtools.Rd

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

0 comments on commit e1c9c78

Please sign in to comment.