powered by
This is useful primarily for writing testing/examples, and as a starting point for more sophisticated custom matrix_form methods
matrix_form
basic_matrix_form(df, parent_path = "root")
A valid MatrixPrintForm object representing df, ready for ASCII rendering
MatrixPrintForm
df
data.frame
character. parent path that all rows should be "children of", defaults to "root", and generally should not matter to end users.
"root"
mform <- basic_matrix_form(mtcars) cat(toString(mform))
Run the code above in your browser using DataLab