From 8093a3ac574d65ad0967b56774f8d60752a471dc Mon Sep 17 00:00:00 2001 From: Steve Martin Date: Sat, 21 Oct 2023 14:25:18 -0400 Subject: [PATCH] Fixed a typo --- R/geks.R | 2 +- R/offset_prices.R | 2 +- man/back_period.Rd | 2 +- man/geks.Rd | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/geks.R b/R/geks.R index 8df826e..62abccd 100644 --- a/R/geks.R +++ b/R/geks.R @@ -57,7 +57,7 @@ geks_matrix <- function(index, p, q, product, n, nper, window, na.rm) { #' @param period A factor, or something that can be coerced into one, that #' gives the corresponding time period for each element in `p` and #' `q`. The ordering of time periods follows the levels of `period` -#' to agree with [cut()][cut.Date]. +#' to agree with [`cut()`][cut.Date]. #' @param product A factor, or something that can be coerced into one, that #' gives the corresponding product identifier for each element in `p` and #' `q`. diff --git a/R/offset_prices.R b/R/offset_prices.R index d01a8a1..f408c79 100644 --- a/R/offset_prices.R +++ b/R/offset_prices.R @@ -33,7 +33,7 @@ offset_period <- function(f) { #' @param period A factor, or something that can be coerced into one, that #' gives the time period for each transaction. The ordering of time periods #' follows the levels of `period` to agree with -#' [cut()][cut.Date]. +#' [`cut()`][cut.Date]. #' @param product A factor, or something that can be coerced into one, that #' gives the product identifier for each transaction. The default is to assume #' that all transactions are for the same product. diff --git a/man/back_period.Rd b/man/back_period.Rd index 52a7070..3fae33d 100644 --- a/man/back_period.Rd +++ b/man/back_period.Rd @@ -13,7 +13,7 @@ base_period(period, product = gl(1, length(period))) \item{period}{A factor, or something that can be coerced into one, that gives the time period for each transaction. The ordering of time periods follows the levels of \code{period} to agree with -\link[=cut.Date]{cut()}.} +\code{\link[=cut.Date]{cut()}}.} \item{product}{A factor, or something that can be coerced into one, that gives the product identifier for each transaction. The default is to assume diff --git a/man/geks.Rd b/man/geks.Rd index 1b38353..7da5be6 100644 --- a/man/geks.Rd +++ b/man/geks.Rd @@ -51,7 +51,7 @@ time-reversal test. Usually a Törnqvist, Fisher, or Walsh index.} \item{period}{A factor, or something that can be coerced into one, that gives the corresponding time period for each element in \code{p} and \code{q}. The ordering of time periods follows the levels of \code{period} -to agree with \link[=cut.Date]{cut()}.} +to agree with \code{\link[=cut.Date]{cut()}}.} \item{product}{A factor, or something that can be coerced into one, that gives the corresponding product identifier for each element in \code{p} and