View source: R/extract-group-matrices.R
extract_group_matrices | R Documentation |
Extract the given data frame into a list of matrices by iscam 'group'
extract_group_matrices(data = NULL, prefix = NULL)
data |
A data frame read in from one of the MCMC csv output files |
prefix |
See details |
Extract the data frame given (data) by unflattening into a list of matrices by group. The group number is located in the names of the columns of the data frame in this format: "prefix(groupnum)_year" where (groupnum) is one or more digits representing the group number and prefix is the string given as an argument to the function.
A list of matrices, one element per group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.