Description Usage Arguments Details Value Author(s) See Also Examples
Function for accessing TFR trajectories.
1 | get.tfr.trajectories(tfr.pred, country)
|
tfr.pred |
Object of class |
country |
Name or numerical code of a country. |
The function loads TFR trajectories for the given country from disk, offsets it if needed (see tfr.median.shift
) and returns it as a matrix.
Array of size number of projection periods (including the present year) times the number of trajectories. The row names correspond to the mid-years of the prediction periods.
Hana Sevcikova
bayesTFR.prediction
, get.tfr.prediction
, tfr.trajectories.table
, tfr.median.shift
1 2 3 | sim.dir <- file.path(find.package("bayesTFR"), "ex-data", "bayesTFR.output")
pred <- get.tfr.prediction(sim.dir=sim.dir)
get.tfr.trajectories(pred, "Germany")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.