This function transposes a model by switching coefficients and scores. It is useful when you want to reverse the roles of samples and variables in a model, especially in the context of dimensionality reduction methods.
transpose(x, ...)
A transposed model with coefficients and scores switched
The model fit, typically an object of a class that implements a transpose
method
Additional arguments passed to the underlying transpose
method
bi_projector
for an example of a two-way mapping model that can be transposed