#' Expectations of some random variables.
#'
#' E|z|, absolute value of standard Gaussian.
#' E(x_2), Rayleigh distribution, or chi with 2 degrees of freedom, x(2).
#' @keywords internal
expectation <- list(absZ = sqrt(2/pi), X2 = sqrt(2) * gamma(3/2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.