diff --git a/R/pit.R b/R/pit.R index 0439bd1..2c42166 100644 --- a/R/pit.R +++ b/R/pit.R @@ -33,7 +33,7 @@ #' The draws in `x` can further be provided (log-)weights in # `weights`, which enables for example the computation of LOO-PITs. #' -#' If `y` and `x` are discrete, randomisation is used to obtain continuous PIT +#' If `y` and `x` are discrete, randomization is used to obtain continuous PIT #' values. (see, e.g., Czado, C., Gneiting, T., Held, L.: Predictive model #' assessment for count data. Biometrics 65(4), 1254–1261 (2009).) #' diff --git a/R/rvar-print.R b/R/rvar-print.R index 1efdbea..e7e6cb9 100755 --- a/R/rvar-print.R +++ b/R/rvar-print.R @@ -11,7 +11,7 @@ #' output. If `TRUE`, the [pillar::style_num()] functions may be used to #' produce strings containing control sequences to produce colored output on #' the terminal. -#' @param width The maxmimum width used to print out lists of factor levels +#' @param width The maximum width used to print out lists of factor levels #' for [`rvar_factor`]s. See [format()]. #' @param vec.len (nonnegative integer) How many 'first few' elements are #' displayed of each vector. If `NULL`, defaults to diff --git a/R/rvar-slice.R b/R/rvar-slice.R index 0129e37..0b98a48 100755 --- a/R/rvar-slice.R +++ b/R/rvar-slice.R @@ -6,7 +6,7 @@ #' @param i,... indices; see *Details*. #' @param drop (logical) Should singular dimensions be dropped when slicing #' array [`rvar`]s? Unlike base array slicing operations, defaults to `FALSE`. -#' @param value (`rvar` or coercable to `rvar`) Value to insert into +#' @param value (`rvar` or coercible to `rvar`) Value to insert into #' `x` at the location determined by the indices. #' #' @details diff --git a/man/pit.Rd b/man/pit.Rd index 0972c46..fd3bde9 100644 --- a/man/pit.Rd +++ b/man/pit.Rd @@ -53,7 +53,7 @@ the elements of \code{y} and \code{x} are matched. The draws in \code{x} can further be provided (log-)weights in -If \code{y} and \code{x} are discrete, randomisation is used to obtain continuous PIT +If \code{y} and \code{x} are discrete, randomization is used to obtain continuous PIT values. (see, e.g., Czado, C., Gneiting, T., Held, L.: Predictive model assessment for count data. Biometrics 65(4), 1254–1261 (2009).) } diff --git a/man/print.rvar.Rd b/man/print.rvar.Rd index 0dc3c55..9e50a23 100755 --- a/man/print.rvar.Rd +++ b/man/print.rvar.Rd @@ -56,7 +56,7 @@ output. If \code{TRUE}, the \code{\link[pillar:style_subtle]{pillar::style_num() produce strings containing control sequences to produce colored output on the terminal.} -\item{width}{The maxmimum width used to print out lists of factor levels +\item{width}{The maximum width used to print out lists of factor levels for \code{\link{rvar_factor}}s. See \code{\link[=format]{format()}}.} \item{vec.len}{(nonnegative integer) How many 'first few' elements are diff --git a/man/rvar-slice.Rd b/man/rvar-slice.Rd index f7c9642..0de6ed2 100644 --- a/man/rvar-slice.Rd +++ b/man/rvar-slice.Rd @@ -21,7 +21,7 @@ \item{i, ...}{indices; see \emph{Details}.} -\item{value}{(\code{rvar} or coercable to \code{rvar}) Value to insert into +\item{value}{(\code{rvar} or coercible to \code{rvar}) Value to insert into \code{x} at the location determined by the indices.} \item{drop}{(logical) Should singular dimensions be dropped when slicing