Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyyeoCH committed Nov 16, 2023
1 parent 5a81304 commit a199f63
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
22 changes: 11 additions & 11 deletions R/postprobDist.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,22 +105,22 @@ h_get_bounds <- function(controlBetamixPost) {
#' @typed relativeDelta : flag
#' If `TRUE`, then a `relativeDelta` is used. Represents that a minimum
#' response rate in magnitude of `delta` of the SOC non-responding patients. See note.
#' @typed parE : matrix
#' beta parameters matrix, with K rows and 2 columns,
#' corresponding to the beta parameters of the K components for `E` group. Default is a
#' uniform prior `Beta(1,1)` which can be used to reflect no precedent data
#' in both the `E` and `S` arms. See details.
#' @typed weights : matrix
#' @typed parE : numeric or matrix
#' beta parameters numeric of two elements. If K row > 1, then beta parameters are
#' a matrix of h K rows and 2 columns, corresponding to the beta parameters of the K components
#' for `E` group. The rows correspond to mixture components and each column corresponds to
#' alpha and beta.
#' Default is a uniform prior `Beta(1,1)` which can be used to reflect no precedent data. See details.
#' @typed weights : numeric
#' the non-negative mixture weights of the beta mixture prior. Default are
#' equal weights across mixture components.
#' In the simple case of no mixture of priors given, the Beta parameters are weighted as `100 %`.
#' Weights can exceed 1, to which the algorithm will normalize the weights such that all weights sum to 1.
#' @typed parS : matrix
#' beta parameters matrix, with K rows and 2 columns,
#' @typed parS : numeric or matrix
#' beta parameters numeric of if K row > 1, then matrix, with K rows and 2 columns,
#' corresponding to the beta parameters of the K components for `S` group. Default is a
#' uniform prior `Beta(1,1)` which can be used to reflect no precedent data
#' in both the `E` and `S` arms. See details.
#' @typed weightsS : matrix
#' uniform prior `Beta(1,1)` which can be used to reflect no precedent data. See details.
#' @typed weightsS : numeric
#' weights for the SOC group (default: uniform).
#' @typed epsilon : number
#' the smallest non-negative floating number to represent the lower bound for
Expand Down
25 changes: 13 additions & 12 deletions man/postprobDist.Rd

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

0 comments on commit a199f63

Please sign in to comment.