rotate_dimensions: rotate_dimensions

View source: R/array_transform.R

rotate_dimensionsR Documentation

rotate_dimensions

Description

rotate the dimensions of an array s.t. the first margin becomes the last.

Usage

rotate_dimensions(x)

Arguments

x

an array

Details

The invariants for all arrays 'x' with more than one margin are: dim(rotate_dimensions(x)) == c(dim(x)[2:D], dim(x)[1]) x['a','b','c'] == rotate_dimensions(x)['b','c','a']

Value

an array meeting the invariants


FPRgroup/FPEMcountry documentation built on April 24, 2023, 4:32 p.m.