Suggests: devtools, fitdistrplus, grDevices, imputeTS, knitr, nlme,
pander, readxl, rmarkdown, sessioninfo, testthat

questions.  Methodology described in Murphy (2019)
Maintainer: Erik W Leppo <Erik.Leppo@tetratech.com>
Suggests: devtools, dplyr, fitdistrplus, grDevices, imputeTS, knitr,
nlme, pander, readxl, rmarkdown, sessioninfo, testthat
Imports: XML, dataRetrieval, digest, memoise, mgcv, plyr, survival
checkRange.R chkParameter.R closeOut.R createResiduals.R data.R
findFile.R flwAveragePred.R fmtPval.R gamDiff.R gamPlotCalc.r
mergeSalinity.R reAttDF.R saveDF.R seasAdjflow2.R selectData.R

markdown, nlme, pander, readxl, rmarkdown, sessioninfo,
Imports: dataRetrieval, digest, lubridate, memoise, mgcv, plyr,

Imports: dataRetrieval, digest, dplyr, fitdistrplus, grDevices,
lubridate, knitr, memoise, mgcv, pander, plyr, readxl,
Suggests: devtools, imputeTS, markdown, nlme, rmarkdown, testthat

Authors@R: person("Paul", "Poncet", , "paulponcet@yahoo.fr", role = c("aut", "cre"))
Description: A collection of miscellaneous functions for
copying objects to the clipboard ('Copy');
manipulating strings ('concat', 'mgsub', 'trim', 'verlan');
loading or showing packages ('library_with_rep', 'require_with_rep',
creating or testing for named lists ('nlist', 'as.nlist', 'is.nlist'),
formulas ('is.formula'), empty objects ('as.empty', 'is.empty'),
testing for equality ('almost.equal', 'almost.zero');
getting modified versions of usual functions ('rle2', 'sumNA');
making a pause or a stop ('pause', 'stopif');
and others ('erase', '%nin%', 'unwhich').

loading or showing packages ('library_with_dep', 'require_with_dep',

testing for equality ('almost.equal', 'almost.zero') and computing
providing a C like ternary operator ('condition %?% true %:% false');
finding packages and functions ('get_all_pkgs', 'get_all_funs');
and others ('erase', '%nin%', 'unwhich', 'top', 'bot', 'normalize').

and others ('erase', '%nin%', 'unwhich', 'top', 'bot', 'normlize').

Title: Identification of Bull and Bear States of the Market
Description: Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan and Sossounov (2002, <doi:10.1002/jae.664>) and the algorithm of Lunde and Timmermann (2004, <doi:10.1198/073500104000000136>).
The package also contains functions for printing out the dating of the Bull and Bear states of the market, the descriptive statistics of the states, and functions for plotting the results.
For the sake of convenience, the package includes the monthly and daily data on the prices (not adjusted for dividends) of the S&P 500 stock market index.
Imports: Rcpp (>= 0.12.5), zoo, xtable, ggplot2