F8-sq.array: Produce Square Array or Square Matrix

Description Usage Arguments Value Author(s) Examples

Description

Convert input data to a square array or a square matrix.

Usage

1
2

Arguments

x

data object. If x is a vector, length of x should be a square number. Otherwise, the second dimension of x should be a square number.

Value

A square matrix with elements coming from x.

Author(s)

Knut M. Wittkowski kmw@rockefeller.edu

Examples

1
2
sq.matrix(1:25)
sq.array(matrix(1:50, ,2))


muStat documentation built on May 19, 2017, 4:05 p.m.
Search within the muStat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.