get_rows: Get all row vectors of a matrix.

Description Usage Arguments Examples

View source: R/get_surround.R

Description

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

Usage

1

Arguments

data

Matrix from which to extract row vectors.

Examples

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

BoardGames documentation built on May 19, 2017, 2:43 p.m.

Search within the BoardGames package
Search all R packages, documentation and source code