get_rows {BoardGames}R Documentation

Get all row vectors of a matrix.

Description

This function extracts all row vectors of a matrix and returns the result as a list.

Usage

get_rows(data)

Arguments

data

Matrix from which to extract row vectors.

Examples

M = matrix(rnorm(9),3,3)
get_rows(M)

[Package BoardGames version 1.0.0 Index]