Learn R Programming

MplusAutomation (version 1.0.0)

splitDFByRow: 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 data.frame

Value

A list where each element is a one row data frame

Examples

Run this code
# NOT RUN {
# small example using built in data
MplusAutomation:::splitDFByRow(mtcars)
# }

Run the code above in your browser using DataLab