Skip to content

Commit

Permalink
version 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Girish Kumar Jha authored and cran-robot committed Aug 9, 2022
1 parent c0ec0e1 commit 3fc8e15
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: stlELM
Type: Package
Title: Hybrid Forecasting Model Based on STL Decomposition and ELM
Version: 0.1.0
Version: 0.1.1
Authors@R:
c(person(given = "Girish Kumar",
family = "Jha",
Expand All @@ -21,14 +21,14 @@ Description: Univariate time series forecasting with STL decomposition based Ext
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.1
RoxygenNote: 7.2.1
Imports: forecast, nnfor
Depends: R (>= 2.10)
NeedsCompilation: no
Packaged: 2021-02-19 11:25:25 UTC; Rajeev-PC
Packaged: 2022-08-09 04:48:02 UTC; kapil
Author: Girish Kumar Jha [aut, cre],
Ronit Jaiswal [aut, ctb],
Kapil Choudhary [ctb],
Rajeev Ranjan Kumar [ctb]
Repository: CRAN
Date/Publication: 2021-02-22 11:10:02 UTC
Date/Publication: 2022-08-09 07:00:02 UTC
8 changes: 4 additions & 4 deletions MD5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
b8f537a5c031e9678a52d6274f72759f *DESCRIPTION
7525ee07a80479e0612a1763a22c13f1 *DESCRIPTION
33d4a5bbc7143488f1affd7ef7e8a362 *NAMESPACE
ebfacfe9ca25d6d6a5d1ad816c0f347b *R/STLELM.R
0fe36bd2282e5094deb5fc4ac37d4ac6 *data/Data_potato.rda
bf7ba1580a1ca934a59bb9e2718ee37c *man/Data_potato.Rd
d300f45a3fd68190bb3265b112f255d8 *R/STLELM.R
53dfda6815d5cc5f86f0af2458dccc97 *data/Data_potato.rda
a48f261a9d19236aaafb481d7ebb373a *man/Data_potato.Rd
a7e72f2575a11a59ee2f80f61c82f1df *man/STLELM.Rd
3 changes: 2 additions & 1 deletion R/STLELM.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' @export
#'
STLELM <- function(data, stepahead=10){
STLcomp <- mstl(data)
STLcomp <- forecast::mstl(data)
STLcomp_plots<-plot(STLcomp)
data_trn <- ts(head(data, round(length(data) - stepahead)))
data_test <- ts(tail(data, stepahead))
Expand All @@ -29,3 +29,4 @@ STLELM <- function(data, stepahead=10){
MAPE_stlELM=MAPE_stlELM, rmse_stlELM=rmse_stlELM,
STLcomp_plots=STLcomp_plots))
}

Binary file modified data/Data_potato.rda
Binary file not shown.
10 changes: 5 additions & 5 deletions man/Data_potato.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
\alias{Data_potato}
\docType{data}
\title{
Normalized Monthly Average Potato Price of India
Monthly Average Potato Price of Delhi Market (India)
}
\description{
Normalized Monthly Average Potato Price of India from January 2010 to July 2020.
Monthly Average Potato Price of Delhi Market from January 2010 to July 2020.
}
\usage{data("Data_potato")}
\format{
Expand All @@ -15,13 +15,13 @@ Normalized Monthly Average Potato Price of India from January 2010 to July 2020.
}
}
\details{
Dataset contains 127 observations of normalized monthly average potato price of India. It is obtained from World Bank "Pink sheet".
Dataset contains 127 observations of monthly average potato price of Delhi Market. It is obtained from Agmarknet Website.
}
\source{
Department of Consumer Affairs, Govt. of India
https://agmarknet.gov.in/
}
\references{
https://consumeraffairs.nic.in/
https://agmarknet.gov.in/
}
\examples{
data(Data_potato)
Expand Down

0 comments on commit 3fc8e15

Please sign in to comment.