str2str

From MaRDI portal
Revision as of 19:56, 12 March 2024 by Import240312060351 (talk | contribs) (Created automatically from import240312060351)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Software:121889



CRANstr2strMaRDI QIDQ121889

Convert R Objects from One Structure to Another

David Disabato

Last update: 20 November 2023

Software version identifier: 0.2.1, 0.1.1, 0.2.0, 1.0.0


Copyright license: GNU General Public License, version 3.0, GNU General Public License, version 2.0

Offers a suite of functions for converting to and from (atomic) vectors, matrices, data.frames, and (3D+) arrays as well as lists of these objects. It is an alternative to the base R as.<str>.<method>() functions (e.g., as.data.frame.array()) that provides more useful and/or flexible restructuring of R objects. To do so, it only works with common structuring of R objects (e.g., data.frames with only atomic vector columns).