t.vectorlist: Transpose a "vectorlist"

View source: R/vectorlist.R

t.vectorlistR Documentation

Transpose a 'vectorlist'

Description

Transpose a 'vectorlist'

Usage

## S3 method for class 'vectorlist'
t(x)

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.

Value

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

Note

The motivation of the derived class 'vectorlist' and the method dispatch t.vectorlist() is that The function with.hyperframe could be slow in a batch process.

References

https://tingtingzhan.quarto.pub/groupedhyperframe/topics.html


groupedHyperframe documentation built on March 10, 2026, 5:08 p.m.