Skip to content

Commit

Permalink
update docu
Browse files Browse the repository at this point in the history
  • Loading branch information
HajkD committed Nov 12, 2024
1 parent bbdaf42 commit 8859a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions R/est.prob.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#'
#' \itemize{
#' \item \code{method = "empirical"} : generates the relative frequency of the data \code{x/sum(x)}.
#' \item
#' \item
#' }
#'
#' @param x a numeric vector storing count values.
Expand All @@ -18,8 +16,7 @@
#' # generate a count vector
#' x <- runif(100)
#' # generate a probability vector from corresponding counts
#' # method = "empirical"
#' x.prob <- estimate.probability(x, method = "empirical")
#' x.prob <- estimate.probability(x, method = 'empirical')
#' @export
estimate.probability <- function(x, method = "empirical"){

Expand Down
5 changes: 1 addition & 4 deletions man/estimate.probability.Rd

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

0 comments on commit 8859a12

Please sign in to comment.