Skip to content

Commit 60a484f

Browse files
committed
minor edits and generate Rd fille
1 parent 9ab94d7 commit 60a484f

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

R/E_loo.R

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#' Compute weighted expectations
22
#'
33
#' The `E_loo()` function computes weighted expectations (means, variances,
4-
#' quantiles) using the importance weights obtained from the
5-
#' [PSIS][psis()] smoothing procedure. The expectations estimated by the
6-
#' `E_loo()` function assume that the PSIS approximation is working well.
4+
#' quantiles) using the importance weights obtained from the [PSIS][psis()]
5+
#' smoothing procedure. The expectations estimated by the `E_loo()` function
6+
#' assume that the PSIS approximation is working well.
77
#' **A small [Pareto k][pareto-k-diagnostic] estimate is necessary,
8-
#' but not sufficient, for `E_loo()` to give reliable estimates. If
9-
#' If `log_ratios` argument is provided, `E_loo()` computes also a function
10-
#' specific Pareto k, which needs also to be small for a reliable estimate.
11-
# See more below.
8+
#' but not sufficient, for `E_loo()` to give reliable estimates**. If the
9+
#' `log_ratios` argument is provided, `E_loo()` also computes a function
10+
#' specific Pareto k diagnostic, which must also be small for a reliable
11+
#' estimate. See more details below.
1212
#'
1313
#' @export
1414
#' @param x A numeric vector or matrix.

man/E_loo.Rd

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)