convertRowsToList(x, name.list = TRUE, name.vector = FALSE, factors.as.char = TRUE, as.vector = TRUE)
convertColsToList(x, name.list = FALSE, name.vector = FALSE, factors.as.char = TRUE, as.vector = TRUE)
matrix
| data.frame
]
Object to convert.logical(1)
]
Name resulting list with names of rows (cols) of x
?
Default is FALSE
.logical(1)
]
Name vector elements in resulting list with names of cols (rows) of x
?
Default is FALSE
.logical(1)
]
If x
is a data.frame, convert factor columns to
string elements in the resulting lists?
Default is TRUE
.logical(1)
]
If x
is a matrix, store rows as vectors in the resulting list - or otherwise as lists?
Default is TRUE
.list
of lists or vectors].