From ed535d0913d1bade7218cba67e39f94d17360194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98ystein=20S=C3=B8rensen?= Date: Wed, 17 Nov 2021 11:25:00 +0100 Subject: [PATCH] corrected typo in documentation --- R/compute_mallows.R | 2 +- man/compute_mallows.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/compute_mallows.R b/R/compute_mallows.R index 2a5992a7..11c58c18 100644 --- a/R/compute_mallows.R +++ b/R/compute_mallows.R @@ -152,7 +152,7 @@ #' function should be estimated over the whole range of \eqn{\alpha} values #' covered by the prior distribution for \eqn{\alpha} with high probability. #' In the case that a cluster \eqn{\alpha_c} becomes empty during the -#' Metropolis-Hastings algorihm, the posterior of \eqn{\alpha_c} equals its +#' Metropolis-Hastings algorithm, the posterior of \eqn{\alpha_c} equals its #' prior. For example, if the rate parameter of the exponential prior equals, #' say \eqn{\lambda = 0.001}, there is about 37 \% (or exactly: \code{1 - #' pexp(1000, 0.001)}) prior probability that \eqn{\alpha_c > 1000}. Hence diff --git a/man/compute_mallows.Rd b/man/compute_mallows.Rd index 10bd2395..67ace03b 100644 --- a/man/compute_mallows.Rd +++ b/man/compute_mallows.Rd @@ -163,7 +163,7 @@ estimated partition function when \code{n_clusters > 1}, the partition function should be estimated over the whole range of \eqn{\alpha} values covered by the prior distribution for \eqn{\alpha} with high probability. In the case that a cluster \eqn{\alpha_c} becomes empty during the -Metropolis-Hastings algorihm, the posterior of \eqn{\alpha_c} equals its +Metropolis-Hastings algorithm, the posterior of \eqn{\alpha_c} equals its prior. For example, if the rate parameter of the exponential prior equals, say \eqn{\lambda = 0.001}, there is about 37 \% (or exactly: \code{1 - pexp(1000, 0.001)}) prior probability that \eqn{\alpha_c > 1000}. Hence