Description Usage Arguments Details Value
View source: R/psupertime_plots.R
To do this, psupertime builds an internal double_psupertime
object containing
the projections. Given two psupertime objects psuper_1
and psuper_2
, you can
call it in two ways:
1 2 3 4 5 6 7 |
double_obj |
Result of applying double_psupertime to two previously calculated psupertime objects |
psuper_1, |
psuper_2 Two previously calculated psupertime objects |
run_names |
Character vector of length two, labelling the psupertime inputs |
(1) By specifying the two psupertime objects you want to project:
plot_double_psupertime(psuper_1=psuper_1, psuper_2=psuper_2)
(2) Or by first constructing a double_psupertime
object:
double_obj = double_psupertime(psuper_1, psuper_2)
plot_double_psupertime(double_obj=double_obj)
For the coefficients of the two objects to be meaningfully applied to each
other, the data needs to have been processed in the same way for each. We
therefore recommend first preprocessing the data (either via psupertime
's
defaults, or via your preferred method, then running psupertime
with
smooth=FALSE
and scale=FALSE
.
ggplot object plotting the two against each other
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.