get_cols {BoardGames}R Documentation

Get all column vectors of a matrix.

Description

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

Usage

get_cols(data)

Arguments

data

Matrix from which to extract column vectors.

Examples

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

[Package BoardGames version 1.0.0 Index]