Skip to content

Commit

Permalink
Remove example from unexported function
Browse files Browse the repository at this point in the history
  • Loading branch information
imanuelcostigan committed Sep 7, 2019
1 parent 6fdb2b0 commit ab55794
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
11 changes: 0 additions & 11 deletions R/interpolation-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,6 @@ interpolate_dfs.ZeroCurve <- function(x, from, to, ...) {
#' @param interp_data `data.frame` object with three vectors x, y and z
#' @param x0 numeric vector containing the points at which to perform the interpolation along the first dimension
#' @param y0 numeric vector containing the points at which to perform the interpolation along the second dimension
#' @examples
#' vols <- build_vol_quotes()
#' interp_data <- tibble::tibble(
#' x = fmdates::year_frac(attr(vols, "reference_date"),
#' as.Date(vols$maturity,"%Y%m%d"), "act/365"),
#' y = vols$smile,
#' z = vols$value
#' )
#' x0 <- c(2.5, 3.5)
#' y0 <- c(22, 55)
#' linear_cubic_interp(interp_data, x0 = x0, y0 = y0)
#' @keywords internal

linear_cubic_interp <- function(interp_data, x0, y0) {
Expand Down
12 changes: 0 additions & 12 deletions man/linear_cubic_interp.Rd

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

0 comments on commit ab55794

Please sign in to comment.