Skip to content

Commit 58f9475

Browse files
committed
remove revdepcheck folder, remove problems with documentation, updated cran-comments and NEWS and DESCRIPTION
1 parent 9aec91b commit 58f9475

5,859 files changed

Lines changed: 170 additions & 936185 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

DESCRIPTION

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
Package: simts
22
Type: Package
33
Title: Time Series Analysis Tools
4-
Version: 0.2.2
5-
Date: 2023-09-29
4+
Version: 0.2.3
65
LazyData: true
76
Authors@R: c(
87
person("Stéphane", "Guerrier", email = "stef.guerrier@gmail.com", role = c("aut","cre","cph")),

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# simts 0.2.3
2+
3+
- solved problems related to documentation with itemize tags in return tags that were creating problems on check
4+
- moved from arma::is_finite to std::isfinite in file src/rtoarmadillo.cpp
5+
6+
17
# simts 0.2.0
28

39
## Features

R/RcppExports.R

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,14 +1043,14 @@ code_zero <- function(theta) {
10431043
#' @details
10441044
#' If type = "imu" or "ssm", then parameter vector should indicate the characters of the models that compose the latent or state-space model.
10451045
#' The model options are:
1046-
#' \itemize{
1046+
#' \describe{
10471047
#' \item{"AR1"}{a first order autoregressive process with parameters \eqn{(\phi,\sigma^2)}{phi, sigma^2}}
10481048
#' \item{"ARMA"}{an autoregressive moving average process with parameters \eqn{(\phi _p, \theta _q, \sigma^2)}{phi[p], theta[q], sigma^2}}
10491049
#' \item{"DR"}{a drift with parameter \eqn{\omega}{omega}}
10501050
#' \item{"QN"}{a quantization noise process with parameter \eqn{Q}}
10511051
#' \item{"RW"}{a random walk process with parameter \eqn{\sigma^2}{sigma^2}}
10521052
#' \item{"WN"}{a white noise process with parameter \eqn{\sigma^2}{sigma^2}}
1053-
#' }
1053+
#' }
10541054
#' If model_type = "imu" or type = "ssm" then
10551055
#' starting values pass through an initial bootstrap and pseudo-optimization before being passed to the GMWM optimization.
10561056
#' If robust = TRUE the function takes the robust estimate of the wavelet variance to be used in the GMWM estimation procedure.
@@ -2191,11 +2191,9 @@ wave_variance <- function(signal_modwt_bw, robust = FALSE, eff = 0.6) {
21912191
#' @param alpha A \code{double} that indicates the \eqn{\left(1-p\right)*\alpha}{(1-p)*alpha} confidence level
21922192
#' @param ci_type A \code{String} indicating the confidence interval being calculated. Valid value: "eta3"
21932193
#' @return A \code{mat} with the structure:
2194-
#' \itemize{
21952194
#' \item{"variance"}{Wavelet Variance}
21962195
#' \item{"low"}{Lower CI}
21972196
#' \item{"high"}{Upper CI}
2198-
#' }
21992197
#' @keywords internal
22002198
#' @details
22012199
#' This function does the heavy lifting with the signal_modwt_bw
@@ -2213,11 +2211,9 @@ wvar_cpp <- function(signal_modwt_bw, robust, eff, alpha, ci_type) {
22132211
#' @param strWavelet A \code{string} indicating the type of wave filter to be applied. Must be "haar"
22142212
#' @param decomp A \code{string} indicating whether to use "modwt" or "dwt" decomp
22152213
#' @return A \code{mat} with the structure:
2216-
#' \itemize{
22172214
#' \item{"variance"}{Wavelet Variance}
22182215
#' \item{"low"}{Lower CI}
22192216
#' \item{"high"}{Upper CI}
2220-
#' }
22212217
#' @keywords internal
22222218
#' @details
22232219
#' This function powers the wvar object. It is also extendable...

R/gmwm.r

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ gmwm = function(model, data, model.type="imu", compute.v="auto",
282282
#' @param model A \code{ts.model} object containing one of the allowed models
283283
#' @param ... Additional parameters (not used)
284284
#' @return A \code{gmwm} object with the structure:
285-
#' \itemize{
286285
#' \item{estimate}{Estimated Parameters Values from the GMWM Procedure}
287286
#' \item{init.guess}{Initial Starting Values given to the Optimization Algorithm}
288287
#' \item{wv.empir}{The data's empirical wavelet variance}
@@ -311,7 +310,6 @@ gmwm = function(model, data, model.type="imu", compute.v="auto",
311310
#' \item{starting}{Indicates whether the procedure used the initial guessing approach}
312311
#' \item{seed}{Randomization seed used to generate the guessing values}
313312
#' \item{freq}{Frequency of data}
314-
#' }
315313
update.gmwm = function(object, model, ...){
316314
# Do we have a valid model?
317315
if(!is.ts.model(model)){
@@ -428,7 +426,6 @@ update.gmwm = function(object, model, ...){
428426
#' ability to interpret with respect to \code{freq}, then use
429427
#' \code{AR1} terms.
430428
#' @return A \code{gmwm} object with the structure:
431-
#' \itemize{
432429
#' \item{estimate}{Estimated Parameters Values from the GMWM Procedure}
433430
#' \item{init.guess}{Initial Starting Values given to the Optimization Algorithm}
434431
#' \item{wv.empir}{The data's empirical wavelet variance}
@@ -457,7 +454,6 @@ update.gmwm = function(object, model, ...){
457454
#' \item{starting}{Indicates whether the procedure used the initial guessing approach}
458455
#' \item{seed}{Randomization seed used to generate the guessing values}
459456
#' \item{freq}{Frequency of data}
460-
#' }
461457
gmwm_imu = function(model, data, compute.v = "fast", robust = F, eff = 0.6, ...){
462458

463459
x = gmwm(model = model,
@@ -537,7 +533,6 @@ print.gmwm = function(x, ...){
537533
#' @param B An \code{int} that indicates how many bootstraps should be performed.
538534
#' @param ... Other arguments passed to specific methods
539535
#' @return A \code{summary.gmwm} object with:
540-
#' \itemize{
541536
#' \item{estimate}{Estimated Theta Values}
542537
#' \item{testinfo}{Goodness of Fit Information}
543538
#' \item{inference}{Inference performed? T/F}
@@ -549,7 +544,6 @@ print.gmwm = function(x, ...){
549544
#' \item{seed}{Seed used during guessing / bootstrapping}
550545
#' \item{obj.fun}{Value of obj.fun at minimized theta}
551546
#' \item{N}{Length of Time Series}
552-
#' }
553547
#' @export
554548
#' @author JJB
555549
summary.gmwm = function(object, inference = NULL,
@@ -700,11 +694,9 @@ print.summary.gmwm = function(x, ...){
700694
#' @param n.ahead Number of observations to forecast
701695
#' @param ... Additional parameters passed to ARIMA Predict
702696
#' @return A \code{predict.gmwm} object with:
703-
#' \itemize{
704697
#' \item{pred}{Predictions}
705698
#' \item{se}{Standard Errors}
706699
#' \item{resid}{Residuals from ARIMA ML Fit}
707-
#' }
708700
#' @export
709701
predict.gmwm = function(object, data.in.gmwm, n.ahead = 1, ...){
710702

R/ts.model.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,14 +1041,12 @@ simplified_print_SARIMA = function(p, i, q, P, si, Q, s){
10411041
#' @param x A \code{ts.model} object
10421042
#' @param y A \code{ts.model} object
10431043
#' @return An S3 object with called ts.model with the following structure:
1044-
#' \itemize{
10451044
#' \item{process.desc}{combined x, y desc}
10461045
#' \item{theta}{combined x, y theta}
10471046
#' \item{plength}{Number of Parameters}
10481047
#' \item{desc}{Add process to queue e.g. c("AR1","WN")}
10491048
#' \item{obj.desc}{Depth of Parameters e.g. list(1, c(1,1), c(length(ar),length(ma),1) )}
10501049
#' \item{starting}{Guess Starting values? TRUE or FALSE (e.g. specified value)}
1051-
#' }
10521050
#' @author James Balamuta
10531051
#' @export
10541052
#' @keywords internal

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ library(simts)
2020
[![CRAN](http://www.r-pkg.org/badges/version/simts)](https://cran.r-project.org/package=simts)
2121
[![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/simts)](https://www.r-pkg.org/pkg/simts)
2222
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/simts)](https://www.r-pkg.org/pkg/simts)
23-
[![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-green.svg)](https://github.com/SMAC-Group/simts)
23+
![](https://img.shields.io/github/last-commit/SMAC-Group/simts)
2424

2525
# `simts` Overview <a href="https://smac-group.com/"><img src="man/figures/logo.png" align="right" style="width: 20%; height: 20%"/></a>
2626

README.md

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ version](https://img.shields.io/badge/R%3E%3D-3.4.0-6666ff.svg)](https://cran.r-
1010
downloads](http://cranlogs.r-pkg.org/badges/simts)](https://www.r-pkg.org/pkg/simts)
1111
[![CRAN RStudio mirror
1212
downloads](https://cranlogs.r-pkg.org/badges/grand-total/simts)](https://www.r-pkg.org/pkg/simts)
13-
![](https://img.shields.io/github/last-commit/SMAC-Group/gmwmx)
13+
[![Last-changedate](https://img.shields.io/badge/last%20change-2025--10--07-green.svg)](https://github.com/SMAC-Group/simts)
14+
1415
# `simts` Overview <a href="https://smac-group.com/"><img src="man/figures/logo.png" align="right" style="width: 20%; height: 20%"/></a>
1516

1617
The Time Series Tools (`simts`) R package provides a series of tools to
@@ -21,17 +22,17 @@ R”](https://smac-group.github.io/ts/) but can obviously be used for time
2122
series analysis in general. More specifically, the package provides
2223
tools with the following features:
2324

24-
- Simulation of time series from SARIMA models to various state-space
25-
models that can be expressed as latent time series processes.
26-
- Visualization of time series data with user specifications.
27-
- Specific simulation and visualization tools for latent time series
28-
models.
29-
- Easy-to-use functions to estimate and infer on the parameters of
30-
time series models through different methods (standard and robust).
31-
- Diagnostic and statistical tools to assess goodness of fit and
32-
select the best model for the data.
33-
- Estimating and plotting tools to deliver point forecasts and
34-
confidence intervals.
25+
- Simulation of time series from SARIMA models to various state-space
26+
models that can be expressed as latent time series processes.
27+
- Visualization of time series data with user specifications.
28+
- Specific simulation and visualization tools for latent time series
29+
models.
30+
- Easy-to-use functions to estimate and infer on the parameters of time
31+
series models through different methods (standard and robust).
32+
- Diagnostic and statistical tools to assess goodness of fit and select
33+
the best model for the data.
34+
- Estimating and plotting tools to deliver point forecasts and
35+
confidence intervals.
3536

3637
To understand the usage of the `simts` package, please refer to the
3738
“Vignettes” tab above.
@@ -80,15 +81,27 @@ or [GNU](https://www.gnu.org/licenses/agpl-3.0.en.html) which will
8081
provide a synopsis of the restrictions placed upon the code.
8182

8283
<!-- ### Requirements and Dependencies -->
84+
8385
<!-- **OS X** -->
86+
8487
<!-- Some users report the need to use X11 to suppress shared library errors. To install X11, visit [xquartz.org](http://www.xquartz.org/). -->
88+
8589
<!-- **Linux** -->
90+
8691
<!-- Both curl and libxml are required. -->
92+
8793
<!-- For **Debian** systems, enter the following in terminal: -->
94+
8895
<!-- ```{r, eval = F, engine='bash'} -->
96+
8997
<!-- sudo apt-get install curl libcurl3 libcurl3-dev libxml2 libxml2-dev -->
98+
9099
<!-- ``` -->
100+
91101
<!-- For **RHEL** systems, enter the following in terminal: -->
102+
92103
<!-- ```{r, eval = F, engine='bash'} -->
104+
93105
<!-- sudo yum install curl curl-devel libxml2 libxml2-dev -->
106+
94107
<!-- ``` -->

0 commit comments

Comments
 (0)