Learn R Programming

madness (version 0.2.8)

reshapes: Basic Reshape Operations

Description

Basic Reshape Operations

Usage

# S4 method for madness
t(x)

# S4 method for madness tril(x, k = 0)

# S4 method for madness triu(x, k = 0)

# S4 method for madness dim(x) <- value

# S3 method for madness aperm(a, perm = NULL, resize = TRUE, ...)

Arguments

x

madness object.

k

the index of the diagonal number from which to extract.madness object.

value

an array of the new dimensions of the object value.

a

the array to be transposed.

perm

the subscript permutation vector, usually a permutation of the integers 1:n, where n is the number of dimensions of a. When a has named dimnames, it can be a character vector of length n giving a permutation of those names. The default (used whenever perm has zero length) is to reverse the order of the dimensions.

resize

a flag indicating whether the vector should be resized as well as having its elements reordered (default TRUE).

...

Optional arguments used by specific methods. (None used at present.)

Author

Steven E. Pav shabbychef@gmail.com

See Also

vec, todiag