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/gutaker2020 documentation built on Sept. 25, 2020, 3:10 a.m.