Learn R Programming

MplusAutomation (version 1.1.1)

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)

Value

A list where each element is a one row data frame

Arguments

df

An object inheriting from class data.frame

Examples

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

Run the code above in your browser using DataLab