Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FinYang committed Apr 7, 2024
1 parent c23f66e commit 934ed0e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion R/simulation.R
Expand Up @@ -22,7 +22,7 @@
#' observed at the beginning of 2023. For example, the first bond with 20 years
#' of maturity is issued at the beginning of 2003. The last bond within a type
#' is issued at the end of 2023. The rest of the bonds have issue dates spread
#' evenly inbetween.
#' evenly in between.
#'
#' The initial yield at the beginning of 2023 is generated from the following
#' equation
Expand Down
6 changes: 3 additions & 3 deletions R/ycevo.R
Expand Up @@ -54,7 +54,7 @@
#' grids. The estimated yield is transformed from the estimated discount rate.
#'
#' An alternative specification of bandwidth `hx` is `span_x`, which provides
#' kernel coverage invariate to the length of `data`. `span_x` takes an
#' kernel coverage invariant to the length of `data`. `span_x` takes an
#' absolute measure of time depending on the unit of `x`. The default value is
#' 60. If the data is daily on trading days, i.e., the interval between every
#' two consecutive `qdate` is one trading day, then the window of the kernel
Expand Down Expand Up @@ -82,7 +82,7 @@
#' See `Details`.
#' @param ht Numeric vector of the bandwidth parameter corresponding to each
#' time-to-maturities `tau`. See `Details`.
#' @param tau_p Numeric vector that represents auxiliarytime-to-maturities in
#' @param tau_p Numeric vector that represents auxiliary time-to-maturities in
#' years. See `Details`.
#' @param htp Numeric vector of the bandwidth parameter corresponding to each
#' auxiliary time-to-maturities `tau_p`. See `Details`.
Expand All @@ -94,7 +94,7 @@
#' @param ... Specification of an additional covariate, taking the form of `var
#' = list(grid, bandwidth)`, where `var` is the name of the covariate in
#' `data`, `grid` is the values at which the yield curve is estimated,
#' similiar to `x`, and `bandwidth` is the bandwidth paramter corresponding to
#' similar to `x`, and `bandwidth` is the bandwidth parameter corresponding to
#' each of the `grid` values, similar to `hx`.
#'
#' @returns A [tibble::tibble] object of class `ycevo` with the following
Expand Down
2 changes: 1 addition & 1 deletion man/vis_kernel.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/ycevo.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ycevo_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 934ed0e

Please sign in to comment.