aboutsummaryrefslogtreecommitdiff
path: root/R/twa.R
AgeCommit message (Collapse)AuthorFilesLines
2020-07-07Remove copyright headers, update TOXSWA_cwa testJohannes Ranke1-23/+5
- The window column of the windows component of a TOXSWA_cwa object is not a factor any more, but a character vector. - testthat::expect_equal_to_reference is replaced by testthat::expect_known_output, so we can have git diff show what has changed
2019-07-01TypoJohannes Ranke1-1/+1
2019-06-12Documentation fixJohannes Ranke1-3/+2
2017-05-24Fix for the sawtooth function for repeated applicationsJohannes Ranke1-1/+1
For n > 2, the second application was made at 2 * i instead of i.
2017-01-19Another correction of the docsJohannes Ranke1-5/+5
2017-01-19Corrections in the documentationJohannes Ranke1-10/+16
2017-01-19Correct default y axis label for plot.one_boxJohannes Ranke1-1/+1
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