Package: matsindf 0.4.11

matsindf: Matrices in Data Frames

Provides functions to collapse a tidy data frame into matrices in a data frame and expand a data frame of matrices into a tidy data frame.

Authors:Matthew Heun [aut, cre]

matsindf_0.4.11.tar.gz
matsindf_0.4.11.zip(r-4.7)matsindf_0.4.11.zip(r-4.6)matsindf_0.4.11.zip(r-4.5)
matsindf_0.4.11.tgz(r-4.6-any)matsindf_0.4.11.tgz(r-4.5-any)
matsindf_0.4.11.tar.gz(r-4.7-any)matsindf_0.4.11.tar.gz(r-4.6-any)
matsindf_0.4.11.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
matsindf/json (API)
NEWS

# Install 'matsindf' in R:
install.packages('matsindf', repos = c('https://matthewheun.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/matthewheun/matsindf/issues

Pkgdown/docs site:https://matthewheun.github.io

Datasets:

On CRAN:

Conda:

5.88 score 4 stars 42 scripts 233 downloads 18 exports 72 dependencies

Last updated from:ffb69076de. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK155
source / vignettesOK227
linux-release-x86_64OK123
macos-release-arm64OK166
macos-oldrel-arm64OK148
windows-develOK102
windows-releaseOK98
windows-oldrelOK88
wasm-releaseOK131

Exports::=.data%>%build_matsindf_apply_data_framecheck_worksheet_name_violationscollapse_to_matricesdf_to_msgeverything_exceptexpand_to_tidygroup_by_everything_exceptindex_columnmat_to_rowcolvalmatrix_colsmatsindf_applymatsindf_apply_typesrowcolval_to_matverify_cols_missingwrite_mats_to_excel

Dependencies:assertthatbackportsbase64encbslibcachemcheckmatecliclustercolorspacecpp11data.tabledigestdplyrevaluatefarverfastmapfontawesomeforeignFormulafsgenericsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMatrixmatrixcalcmatsbynamememoisemimennetopenxlsx2pillarpkgconfigpurrrR6rappdirsRCLabelsRColorBrewerRcpprlangrmarkdownrpartrstudioapiS7sassscalesstringistringrtibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyaml

A matsindf_apply primer

Rendered frommidf_apply_primer.Rmdusingknitr::rmarkdownon May 25 2026.

Last update: 2025-11-18
Started: 2019-01-07

Use Cases and Examples for matsindf

Rendered frommatsindf.Rmdusingknitr::rmarkdownon May 25 2026.

Last update: 2025-11-18
Started: 2017-12-26

Using matsindf for principal components analysis

Rendered fromiris_pca.Rmdusingknitr::rmarkdownon May 25 2026.

Last update: 2021-12-17
Started: 2021-12-17

Readme and manuals

Help Manual

Help pageTopics
Add a column of matrix names to tidy data frameadd_UKEnergy2000_matnames
Add row, column, row type, and column type metadataadd_UKEnergy2000_row_col_meta
Build a list of arguments to keepbuild_keep_args
Create a data frame consisting of the input data for matsindf_apply()build_matsindf_apply_data_frame
Develop a warning message for malformed Excel worksheet namescheck_worksheet_name_violations
Collapse a "tidy" data frame to matrices in a data frame ('matsindf')collapse_to_matrices
Create a message from a data framedf_to_msg
Get symbols for all columns except ...everything_except
Expand a 'matsindf' data frameexpand_to_tidy
Create a usable list of default arguments to a functionget_useable_default_args
Group by all variables except somegroup_by_everything_except
Gracefully handle empty datahandle_empty_data
Gracefully handle 'NULL' argumentshandle_null_args
Index a column in a data frame by groups relative to an initial yearindex_column
Convert a matrix to a data frame with rows, columns, and values.mat_to_rowcolval
Find columns that contain matricesmatrix_cols
Apply a function to a 'matsindf' data frame (and more)matsindf_apply
Determine types of '.dat' and '...' arguments for matsindf_apply()matsindf_apply_types
Collapse a tidy data frame into a matrix with named rows and columnsrowcolval_to_mat
Tell whether a column can be unlistedshould_unlist
Energy consumption in the UK in 2000UKEnergy2000
Verify that column names in a data frame are not already presentverify_cols_missing
Decide where to get each argument to FUNwhere_to_get_args
Write matrices to an Excel filewrite_mats_to_excel