aperm.data.list: Data list transposition

Description Usage Arguments Value Note See Also

Description

Transpose a data list by permuting its dimensions.

Usage

1
2
3
4
5
## S3 method for class 'data.list'
aperm(a, perm, ...)

## S3 method for class 'data.list'
t(x)

Arguments

a

a data list to be transposed.

x

a data list to be transposed.

perm

the subscript permutation vector (see aperm).

...

not currently used.

Value

A transposed version of the data list, a, with the replication dimensions permuted as indicated by perm.

Note

Does not allow resize = FALSE, as can be done in the default method (aperm).

Currently aperm.data.list is implemented by converting the data list to a list, transposing the benchmark variable (see data.list for a description of the benchmark concept), and creating a new data list object. This works because the as.data.list function automatically transposes the other variables such that their dimensions are in the same order as the benchmark. However, this implementation is perhaps not as efficient as it could be and may be changed in the future.

t.data.list is equivalent to aperm.data.list with the perm argument missing, which results in a data list for which the order of subscripts is reversed (as in the default method, aperm).

See Also

aperm, t


stevencarlislewalker/multitable documentation built on May 30, 2019, 4:44 p.m.