reshapes: Basic Reshape Operations

Description Usage Arguments Author(s) See Also

Description

Basic Reshape Operations

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S4 method for signature 'madness'
t(x)

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

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

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

## S3 method for class '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(s)

Steven E. Pav shabbychef@gmail.com

See Also

vec, todiag


shabbychef/madness documentation built on April 11, 2021, 11:03 p.m.