Description Usage Arguments Value
View source: R/plotting_helpers.R
The output of compute_eigen_decomp
puts the eigenvalues into
a list structure, where each element is a vector that corresponds to the
eigenvalues for a given time point. This function does the work of
converting the values into a data.frame for more easy analysis.
1 | extract_matrix_values(values_list, id_var = "censusdate")
|
values_list |
a list of vectors for the eigenvalues: the number of elements in the list corresponds to the time points of the s-map model, and each element is a vector of the eigenvalues, computed from the matrix of the s-map coefficients at that time step |
id_var |
when constructing the long-format tibble, what should be the variable name containing the time index |
A data.frame with columns for the index variable, the eigenvalue, and the rank
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.