Skip to content

Commit

Permalink
add DPo back in
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtuck committed Nov 17, 2023
1 parent 869d1bd commit d35154e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/time-warping.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#' @param parallel A boolean specifying whether to run calculations in parallel.
#' Defaults to `FALSE`.
#' @param optim_method A string specifying the algorithm used for optimization.
#' Choices are `"DP"`, `"DP2"` and `"RBFGS"`. Defaults to `"DP"`.
#' Choices are `"DP"`, `"DPo"`, `"DP2"`, and `"RBFGS"`. Defaults to `"DP"`.
#' @param max_iter An integer value specifying the maximum number of iterations.
#' Defaults to `20L`.
#'
Expand Down Expand Up @@ -80,7 +80,7 @@ time_warping <- function(f, time,
smooth_data = FALSE,
sparam = 25L,
parallel = FALSE,
optim_method = c("DP", "DP2", "RBFGS"),
optim_method = c("DP", "DPo", "DP2", "RBFGS"),
max_iter = 20L) {
penalty_method <- rlang::arg_match(penalty_method)
centroid_type <- rlang::arg_match(centroid_type)
Expand Down
4 changes: 2 additions & 2 deletions man/time_warping.Rd

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

0 comments on commit d35154e

Please sign in to comment.