Skip to content

Commit dbc4ebd

Browse files
committed
fix issue #1
1 parent 69b8c6b commit dbc4ebd

File tree

7 files changed

+51
-20
lines changed

7 files changed

+51
-20
lines changed

Diff for: DESCRIPTION

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
Package: mixAR
22
Type: Package
33
Title: Mixture Autoregressive Models
4-
Version: 0.22.7.9000
5-
Date: 2022-05-05
4+
Version: 0.22.8.9000
65
Authors@R: c( person(given = c("Georgi", "N."),
76
family = "Boshnakov",
87
role = c("aut", "cre"),
@@ -26,8 +25,8 @@ Imports: stats, graphics, utils, stats4, BB, combinat, timeDate,
2625
permute, mvtnorm
2726
Suggests: fma, testthat, covr
2827
RdMacros: Rdpack
29-
URL: https://geobosh.github.io/mixAR/ (website),
30-
https://github.com/GeoBosh/mixAR/ (devel)
28+
URL: https://geobosh.github.io/mixAR/ (doc),
29+
https://github.com/GeoBosh/mixAR/ (devel)
3130
BugReports: https://github.com/GeoBosh/mixAR/issues
3231
Collate: raggedCoef.R raggedCoefS.R mixComp.R mixAR.R mixARcalc.R
3332
mixutil.R dist.R predict.R mix_se.R obs_info_matrix.R

Diff for: NEWS.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# mixAR 0.22.8.9000 (CRAN)
2+
3+
- fixed a typo in a `stop()` string
4+
(fixes issue #1, reported by @beliavski).
5+
6+
7+
# mixAR 0.22.8 (CRAN)
8+
9+
- fixed 'Lost braces' NOTE on CRAN.
10+
11+
- fixed "Documented arguments not in \usage in Rd file 'mixAR-internal.Rd':"
12+
NOTE on CRAN.
13+
14+
115
# mixAR 0.22.7 (CRAN)
216

317
- fixed CRAN warning "`\item` in `\describe` must have non-empty label" in a

Diff for: R/fit_mixARreg.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## It has been automatically generated from mixAR.org.
33

44
fit_mixARreg <- function(x, y, mixARmodel, EMinit, ...){
5-
stop("There is currently no default for this funciton")
5+
stop("There is currently no default for this function")
66
}
77
setGeneric("fit_mixARreg")
88

Diff for: R/mixAR.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ setMethod("fit_mixAR", signature(x = "ANY", model = "MixARGaussian", init = "Mix
867867
})
868868

869869
# build_mixAR <- function(x, ncomp = 2, pmax = 2, ...){
870-
# # stop("There is currently no default for this funciton")
870+
# # stop("There is currently no default for this function")
871871
# if(ncomp < 2)
872872
# ncomp <- 2
873873
#
@@ -1288,7 +1288,7 @@ setMethod("show_diff", signature(model1="MixARGaussian", model2="MixARgen"),
12881288
invisible("")
12891289
})
12901290

1291-
# 2012-11-02 new arg. 'drop'
1291+
# 2012-11-02 new arg. 'drop'
12921292
parameters <- function(model, namesflag = FALSE, drop = character(0)){
12931293
coef(model)
12941294
}

Diff for: man/MixAR-class.Rd

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
%% ~Make other sections like Warning with \section{Warning }{....} ~
6262

6363
\seealso{
64-
code{\link{mixAR}},
64+
\code{\link{mixAR}},
6565
classes \code{"\linkS4class{MixARGaussian}"},
6666
\code{"\linkS4class{MixARgen}"}
6767
}

Diff for: man/mixAR-internal.Rd

+1-8
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,8 @@
1919
param_score_stdt(x, nu)
2020
}
2121
\arguments{
22-
\item{nu}{~~ TODO: describe this argument. ~~}
23-
\item{p}{~~ TODO: describe this argument. ~~}
24-
\item{value}{~~ TODO: describe this argument. ~~}
2522
\item{x}{~~ TODO: describe this argument. ~~}
26-
\item{tau}{~~ TODO: describe this argument. ~~}
27-
\item{etk}{~~ TODO: describe this argument. ~~}
28-
\item{parscore}{~~ TODO: describe this argument. ~~}
29-
\item{sigma}{~~ TODO: describe this argument. ~~}
30-
\item{logpdf}{~~ TODO: describe this argument. ~~}
23+
\item{nu}{~~ TODO: describe this argument. ~~}
3124
}
3225
\details{
3326
These are not to be called by the user (or in some cases are just

Diff for: man/mixAR-package.Rd

+29-4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
\alias{mixAR-package}
33
%\alias{mixAR}
44
\docType{package}
5+
6+
\concept{mixture autoregressive model}
7+
\concept{MAR model}
8+
\concept{TMAR model}
9+
\concept{mixture autoregression}
10+
11+
\concept{non-gaussian time series}
12+
\concept{asymmetry in time series}
13+
\concept{multi-modality in time series}
14+
515
% attaching the package is not necessary for this file but it ensures
616
% that Sexpr's using functions from the package will work also in other
717
% Rd files, without them needing to attach the package. This is
@@ -236,10 +246,25 @@ Maintainer: \Sexpr[stage=build]{pd$Maintainer}
236246

237247
\insertRef{WongLi2001b}{mixAR}
238248
}
239-
% \seealso{
240-
% ~~ Optional links to other man pages, e.g. ~~
241-
% ~~ \code{\link[<pkg>:<pkg>-package]{<pkg>}} ~~
242-
% }
249+
\seealso{
250+
fit several types of mixAR models:
251+
\code{\link{fit_mixAR}}, \code{\link{bayes_mixAR}},
252+
\code{\link{fit_mixARreg}},
253+
\code{\link{mixSARfit}};
254+
255+
Predictive distributions and summaries:
256+
\code{\link{mix_pdf}}, \code{\link{mix_cdf}}, \code{\link{mix_qf}},
257+
\code{\link{mix_location}},
258+
\code{\link{mix_variance}},
259+
\code{\link{mix_central_moment}},
260+
\code{\link{mix_moment}},
261+
\code{\link{mix_kurtosis}},
262+
\code{\link{mix_ekurtosis}}
263+
264+
multi-step prediction:
265+
\code{\link{multiStep_dist}}
266+
267+
}
243268
\examples{
244269
## object 'exampleModels' contains a number of models for examples and testing
245270
names(exampleModels)

0 commit comments

Comments
 (0)