splitDFByRow {MplusAutomation} | R Documentation |
Split a data frame into a list by rows
Description
Takes a data frame and returns a list with an element for each row of the data frame. This is an internal function.
Usage
splitDFByRow(df)
Arguments
df |
An object inheriting from class |
Value
A list where each element is a one row data frame
Examples
# small example using built in data
MplusAutomation:::splitDFByRow(mtcars)
[Package MplusAutomation version 1.1.1 Index]