aboutsummaryrefslogtreecommitdiff
path: root/R/twa.R
AgeCommit message (Collapse)AuthorFilesLines
2017-01-19Fix one_box for ini = 1, use in sawtooth examplesJohannes Ranke1-6/+5
2017-01-19Move mkin::twa to pfm::max_twa.mkinfitJohannes Ranke1-7/+81
- Add max_twa.mkinfit() recently introduced to mkin as mkin::twa() but never released with it - Add a test to check max_twa.one_box() against analytical solutions in max_twa.mkinfit(). - Clean up R CMD check - Update docs
2017-01-19Make max_twa() a bit saferJohannes Ranke1-3/+13
2017-01-19Documentation updatesJohannes Ranke1-4/+3
2017-01-19Fix order of arguments to one_box, correct docsJohannes Ranke1-7/+8
2017-01-19Predict parent decline without fitting for non-SFO modelsJohannes Ranke1-3/+37
2017-01-19Switch sawtooth plotting example to FOMCJohannes Ranke1-8/+11
as this it is claimed in the README that an mkinfit prediction is used. - Add another seealso link - Delete trailing whitespace
2017-01-18Update static docs using pkgdownJohannes Ranke1-5/+5
- Add _pkgdown.yml for a structured function/data reference - Make seealso links active - Make mkinfit calls quiet - Use pkgdown branch from pull request hadley/pkgdown#229 to have topics ordered
2017-01-18One box time series and twa valuesJohannes Ranke1-0/+220
- one_box() creates decline time series from mkinfit objects or simply from a half-life - sawtooth() generates sawtooth curves for arbitrary application patterns and decline models - twa() calculates moving window averages - max_twa() gives their maxima and - plot.one_box() can plot series generated by one_box() or sawtooth(), optionally adding a greay rectangle to illustrate the maximum moving window time weighted average

Contact - Imprint