Skip to content

Commit

Permalink
Add the length of init
Browse files Browse the repository at this point in the history
  • Loading branch information
paulnorthrop committed Feb 27, 2024
1 parent 5ffc9e1 commit e9878dd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion R/ru_sampling.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
#' component \code{box} in the returned object gives the ratio-of-uniforms
#' bounding box that would have been used.
#' @param d A positive integer scalar. The dimension of \eqn{f}.
#' @param init A numeric vector. Initial estimate of the mode of \code{logf}.
#' @param init A numeric vector of length \code{d}. Initial estimate of the
#' mode of \code{logf}.
#' If \code{trans = "BC"} or \code{trans = "user"} this is \emph{after}
#' Box-Cox transformation or user-defined transformation, but \emph{before}
#' any rotation of axes.
Expand Down
3 changes: 2 additions & 1 deletion R/ru_sampling_rcpp.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
#' component \code{box} in the returned object gives the ratio-of-uniforms
#' bounding box that would have been used.
#' @param d A positive integer scalar. The dimension of \eqn{f}.
#' @param init A numeric vector. Initial estimate of the mode of \code{logf}.
#' @param init A numeric vector of length \code{d}. Initial estimate of the
#' mode of \code{logf}.
#' If \code{trans = "BC"} or \code{trans = "user"} this is \emph{after}
#' Box-Cox transformation or user-defined transformation, but \emph{before}
#' any rotation of axes.
Expand Down
3 changes: 2 additions & 1 deletion man/ru.Rd

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

3 changes: 2 additions & 1 deletion man/ru_rcpp.Rd

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

0 comments on commit e9878dd

Please sign in to comment.