Learn R Programming

groupedHyperframe (version 0.3.4)

t.vectorlist: Transpose a 'vectorlist'

Description

Transpose a 'vectorlist'

Usage

# S3 method for vectorlist
t(x)

Value

The S3 method dispatch t.vectorlist() returns a 'vectorlist' of equi-length.

Arguments

x

a 'vectorlist'

Details

tzh defines a derived class 'vectorlist', i.e., a listof vectors, which inherits from anylist. The implementation of 'vectorlist' is inspired by class solist.

The S3 method dispatch t.vectorlist(), of the generic function t, transposes a 'vectorlist' of equi-length. We illustrate this concept using data set Kovesi in Examples.