Description Usage Arguments Details Value Examples
View source: R/gen_progindex.R
This function is able to create the progrex index of a time series from its minimum spanning tree of the distances. In order to understand how the progrex index is generated please refer to http://www.sciencedirect.com/science/article/pii/S0010465513002038.
1 | gen_progindex(adjl = NULL, nsnaps = NULL, snap_start = 1)
|
adjl |
A list of three elements: degree list, connectivity matrix and weights. This input must be a minimum spanning tree, otherwise
the function will not be able to resolve the progress index in a unique solution. If backend netcdf data handling is active, this input can be left
empty. In this case please set the general option |
nsnaps |
Number of snashots in the trajectory. If |
snap_start |
The snapshot from which the progrex index will start. |
For details, please refer to the main documentation of the original campari software http://campari.sourceforge.net/documentation.html.
The output of this function MUST be used as input for the gen_annotation
function.
1 2 | adjl <- mst_from_trj(trj = matrix(rnorm(1000), nrow = 100, ncol = 10))
ret <- gen_progindex(adjl = adjl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.