Description Usage Arguments Value Note
Computes quantiles of the cumulative or pointwise distribution of the incremental ROAS, for each of the days in the pretest and the prediction period.
1 2 3 | ## S3 method for class 'TBRROASAnalysisFit'
quantile(x, probs = c(0.1, 0.5, 0.9),
distribution = c("cumulative", "pointwise"), ...)
|
x |
a TBRROASAnalysisFit object. |
probs |
(numeric vector, each >= 0 and <= 1) quantiles to calculate. |
distribution |
(string) either 'cumulative' or 'pointwise'. |
... |
ignored. |
A TBRQuantiles object, which is a data frame with each row corresponding to a day in the pretest and the prediction period, with columns 'date', 'test', and the columns for the quantiles.
The pretest period is included solely for the purpose of obtaining objects of conforming size from both quantile methods (that of TBRAnalysisFitTbr1 and of this one).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.