pf_access_history | R Documentation |
pf_archive-class
objectThis function accesses and simplifies the ‘history’ list in a pf_archive-class
object.
pf_access_history(archive, bathy = NULL)
archive |
A |
bathy |
(optional) A |
From the ‘history’ element of a pf_archive-class
object, this function extracts particle samples as a dataframe with columns for time steps, cell IDs, cell probabilities and coordinates (if bathy
is available).
The function returns a dataframe that defines, for each time step (‘timestep’), particle samples (‘cell_id’), associated probabilities (‘cell_pr’) and, if bathy
is available, cell coordinates (‘cell_x’, ‘cell_y’ and ‘cell_z’).
Edward Lavender
pf_access_history(dat_dcpf_histories)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.