magic: create and investigate magic squares
Version 1.5-6

a collection of efficient, vectorized algorithms for the creation and investigation of magic squares and hypercubes, including a variety of functions for the manipulation and analysis of arbitrarily dimensioned arrays. The package includes methods for creating normal magic squares of any order greater than 2. The ultimate intention is for the package to be a computerized embodiment all magic square knowledge, including direct numerical verification of properties of magic squares (such as recent results on the determinant of odd-ordered semimagic squares). Some antimagic functionality is included. The package also serves as a rebuttal to the often-heard comment "I thought R was just for statistics".

Package details

AuthorRobin K. S. Hankin
Date of publication2013-11-20 00:55:43
Maintainer"Robin K. S. Hankin" <[email protected]>
LicenseGPL-2
Version1.5-6
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("magic")

Try the magic package in your browser

Any scripts or data that you put into this service are public.

magic documentation built on May 29, 2017, 10:11 p.m.