Matrices in Data Frames


[Up] [Top]

Documentation for package ‘matsindf’ version 0.3.9

Help Pages

add_UKEnergy2000_matnames Add a column of matrix names to tidy data frame
add_UKEnergy2000_row_col_meta Add row, column, row type, and column type metadata
collapse_to_matrices Collapse a "tidy" data frame to matrices in a data frame ('matsindf')
df_to_msg Create a message from a data frame
everything_except Get symbols for all columns except ...
expand_to_tidy Expand a "tidy" data frame with matsindf-style matrices to a "tidy" data frame with each matrix entry as an observation
group_by_everything_except Group by all variables except some
index_column Index a column in a data frame by groups relative to an initial year
matsindf_apply Apply a function to a 'matsindf' data frame (and more)
matsindf_apply_types Determine types of '...' argument for matsindf_apply
mat_to_rowcolval Convert a matrix to a data frame with rows, columns, and values.
rowcolval_to_mat Collapse a tidy data frame into a matrix with named rows and columns
UKEnergy2000 Energy consumption in the UK in 2000
verify_cols_missing Verify that column names in a data frame are not already present