Learn R Programming

rmdcev (version 1.2.0)

CreateListsRow: CreateListsRow

Description

Convert matrix x to a list with each row as an element

Usage

CreateListsRow(x)

Arguments

x

matrix to be converted to list

Value

A list

Examples

Run this code
# NOT RUN {
tmp <- matrix(0, nrow = 10, ncol = 5)
tmp_list <- CreateListsRow(tmp)

# }

Run the code above in your browser using DataLab