Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
philchalmers committed May 25, 2023
1 parent 73efacf commit 3c1e2ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: SimDesign
Title: Structure for Organizing Monte Carlo Simulation Designs
Version: 2.10.7
Version: 2.11
Authors@R: c(person("Phil", "Chalmers", email = "[email protected]", role = c("aut", "cre"),
comment = c(ORCID="0000-0001-5332-2810")),
person("Matthew", "Sigal", role = c("ctb")),
Expand Down
7 changes: 2 additions & 5 deletions R/PBA.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,12 @@
#' plot(retpba)
#' plot(retpba, type = 'history')
#'
#' \dontrun{
#'
#' # Same problem, however root function is noisy. Hence, need to solve
#' # f(x) - b + e = 0 where eventually E(e) = 0
#' # fhat(x) - b + e = 0, where E(e) = 0
#' f.root_noisy <- function(x) 1 / (1 + exp(-x)) - .6 + rnorm(1, sd=.02)
#' sapply(rep(.3, 10), f.root_noisy)
#'
#' # uniroot "converges" randomly
#' # uniroot "converges" unreliably
#' set.seed(123)
#' uniroot(f.root_noisy, c(0,1))$root
#' uniroot(f.root_noisy, c(0,1))$root
Expand All @@ -109,7 +107,6 @@
#' plot(retpba.noise)
#' plot(retpba.noise, type = 'history')
#'
#' }
PBA <- function(f, interval, ..., p = .6,
integer = FALSE, tol = if(integer) .01 else .0001,
maxiter = 300L, mean_window = 100L,
Expand Down
7 changes: 2 additions & 5 deletions man/PBA.Rd

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

0 comments on commit 3c1e2ea

Please sign in to comment.