Skip to content

Commit 00e905a

Browse files
committed
fix typos
1 parent 2d1bc8b commit 00e905a

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

R/metrics-sample.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ dss_sample <- function(observed, predicted, ...) {
264264
#' The Continuous ranked probability score (CRPS) can be interpreted as the sum
265265
#' of three components: overprediction, underprediction and dispersion.
266266
#' "Dispersion" is defined as the CRPS of the median forecast $m$. If an
267-
#' observation $y$ is greater than $m$ then overpredictoin is defined as the
267+
#' observation $y$ is greater than $m$ then overprediction is defined as the
268268
#' CRPS of the forecast for $y$ minus the dispersion component, and
269269
#' underprediction is zero. If, on the other hand, $y<m$ then underprediction
270270
#' is defined as the CRPS of the forecast for $y$ minus the dispersion
@@ -345,7 +345,7 @@ dispersion_sample <- function(observed, predicted, ...) {
345345
}
346346

347347
#' @return
348-
#' `overprediction_quantile()`: a numeric vector with overprediction values
348+
#' `overprediction_sample()`: a numeric vector with overprediction values
349349
#' (one per observation).
350350
#' @export
351351
#' @rdname crps_sample
@@ -356,7 +356,7 @@ overprediction_sample <- function(observed, predicted, ...) {
356356
}
357357

358358
#' @return
359-
#' `underprediction_quantile()`: a numeric vector with underprediction values (one per
359+
#' `underprediction_sample()`: a numeric vector with underprediction values (one per
360360
#' observation).
361361
#' @export
362362
#' @rdname crps_sample

man/crps_sample.Rd

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

0 commit comments

Comments
 (0)