From e797545ecbd90e277454a1580ecd792ceb45d1a6 Mon Sep 17 00:00:00 2001 From: "J. Derek Tucker" Date: Fri, 15 Dec 2023 18:20:19 -0700 Subject: [PATCH] bump version for release --- DESCRIPTION | 4 ++-- NEWS.md | 3 +++ R/curve_srvf_align.R | 3 ++- README.md | 2 +- man/curve_srvf_align.Rd | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 9f53157c..f5d2d6a3 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: fdasrvf Type: Package Title: Elastic Functional Data Analysis -Version: 2.1.0 -Date: 2023-11-17 +Version: 2.1.1 +Date: 2023-12-15 Authors@R: c( person(given = "J. Derek", family = "Tucker", diff --git a/NEWS.md b/NEWS.md index cbb63236..9006d27b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,6 @@ +# fdasrvf 2.1.1 +* bugfixes + # fdasrvf 2.1.0 * added elastic change point functions * exposed `SqrtMeanInverse` and `inv_exp_map` to global diff --git a/R/curve_srvf_align.R b/R/curve_srvf_align.R index 47afa92b..168e4df0 100644 --- a/R/curve_srvf_align.R +++ b/R/curve_srvf_align.R @@ -18,7 +18,8 @@ #' @export #' @examples #' data("mpeg7") -#' out = curve_srvf_align(beta[,,1,1:2],maxit=2) # note: use more shapes and iterations, small for speed +#' # note: use more shapes and iterations, small for speed +#' out = curve_srvf_align(beta[,,1,1:2],maxit=2) curve_srvf_align <- function(beta, mode="O", rotated=T, scale = F, lambda = 0.0, maxit=20, ms = "mean"){ if (mode=="C"){ diff --git a/README.md b/README.md index bd969247..0f9697c6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ analysis ### Installation ------------------------------------------------------------------------------ -v2.1.0 is on [CRAN](https://cran.r-project.org/package=fdasrvf) +v2.1.1 is on [CRAN](https://cran.r-project.org/package=fdasrvf) and can be installed as > `install.packages("fdasrvf")` diff --git a/man/curve_srvf_align.Rd b/man/curve_srvf_align.Rd index 2b473731..cab878f3 100644 --- a/man/curve_srvf_align.Rd +++ b/man/curve_srvf_align.Rd @@ -40,7 +40,8 @@ Aligns a collection of curves using the elastic square-root velocity (srvf) fram } \examples{ data("mpeg7") -out = curve_srvf_align(beta[,,1,1:2],maxit=2) # note: use more shapes and iterations, small for speed +# note: use more shapes and iterations, small for speed +out = curve_srvf_align(beta[,,1,1:2],maxit=2) } \references{ Srivastava, A., Klassen, E., Joshi, S., Jermyn, I., (2011). Shape analysis of elastic curves in euclidean spaces. Pattern Analysis and Machine Intelligence, IEEE Transactions on 33 (7), 1415-1428.