rewrapRows: A function that rewraps a vector into a matrix.

Description Usage Arguments Value

View source: R/rewrapRows.R

Description

User must provide a vector (n) specifying the length of rows. n can be either a constant (in which case it will be repeated), or a vector.

Usage

1
rewrapRows(vec, n)

Arguments

vec

A vector

n

the length of each row.

Value

A matrix


bocinsky/guedesbocinsky2018 documentation built on May 3, 2019, 8:59 p.m.