Manipulation of high-dimensional arrays in R with the magic package

Total Downloads CRAN_Status_Badge

Overview

The magic package implements functionality for manipulating high-dimensional arrays using efficient vectorised methods. The original application was high-dimensional magic hypercubes. This README shows some of the more useful functions in the package.

Installation

You can install the released version of magic from CRAN with:

# install.packages("magic")  # uncomment this to install the package
library("magic")

Package highlights

Much of the package functionality is vectorised in array dimension.

Further information

For more detail, see the package vignette

vignette("magic")