magic
create and investigate magic squares and magic hypercubes
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.9%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
create and investigate magic squares and magic hypercubes
Basic Info
- Host: GitHub
- Owner: RobinHankin
- Language: R
- Default Branch: master
- Homepage: https://robinhankin.github.io/magic/
- Size: 3.22 MB
Statistics
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 3
- Releases: 0
Created over 8 years ago
· Last pushed about 1 year ago
Metadata Files
Readme
Changelog
Contributing
Code of conduct
README.Rmd
---
title: "Manipulation of high-dimensional arrays in R with the magic package"
output:
github_document:
pandoc_args: --webtex
---
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
[](https://CRAN.R-project.org/package=magic)
[](https://cran.r-project.org/package=magic)
[](https://github.com/RobinHankin/magic/actions/workflows/R-CMD-check.yaml)
# 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](https://CRAN.R-project.org) with:
```{r, message=FALSE}
# install.packages("magic") # uncomment this to install the package
library("magic")
```
# Package highlights
* Function `adiag()` binds arbitrarily-dimensioned arrays corner-to-corner
* Function `apad()` pads arbitrarily-dimensioned arrays
* Function `apldrop()` is a replacement for APL's drop
* Function `aplus()` superimposes two arrays of different dimensions and returns the sum of overlapping elements
* Function `arev()` is a multidimensional generalization of `rev()`
* Function `arot()` is a generalization of matlab's `rotdim`
* Function `fnsd()` returns the first nonsingleton dimension of an arbitrary dimensioned array
* Function `ashift()` shifts the origin of arbitrary dimensioned arrays
Much of the package functionality is vectorised in array dimension.
# Further information
For more detail, see the package vignette
`vignette("magic")`
Owner
- Name: Robin Hankin
- Login: RobinHankin
- Kind: user
- Location: Auckland
- Company: AUT
- Repositories: 30
- Profile: https://github.com/RobinHankin
pushing the boundaries of R in non-statistical contexts
GitHub Events
Total
- Issues event: 1
- Issue comment event: 2
- Push event: 9
Last Year
- Issues event: 1
- Issue comment event: 2
- Push event: 9
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| RobinHankin | h****n@g****m | 38 |
| Jeroen Van Goey | j****y@g****m | 1 |
| Robin Hankin | R****n@u****m | 1 |
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 8
- Total pull requests: 1
- Average time to close issues: about 1 year
- Average time to close pull requests: about 15 hours
- Total issue authors: 3
- Total pull request authors: 1
- Average comments per issue: 1.13
- Average comments per pull request: 1.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- RobinHankin (5)
- barryrowlingson (2)
- ggrothendieck (1)
Pull Request Authors
- BioGeek (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- cran 18,115 last-month
- Total docker downloads: 200,731
-
Total dependent packages: 59
(may contain duplicates) -
Total dependent repositories: 91
(may contain duplicates) - Total versions: 31
- Total maintainers: 1
cran.r-project.org: magic
Create and Investigate Magic Squares
- Homepage: https://github.com/RobinHankin/magic
- Documentation: http://cran.r-project.org/web/packages/magic/magic.pdf
- License: GPL-2
-
Latest release: 1.6-1
published over 3 years ago
Rankings
Dependent packages count: 1.6%
Dependent repos count: 2.4%
Downloads: 3.4%
Average: 11.7%
Forks count: 14.1%
Docker downloads count: 21.1%
Stargazers count: 27.8%
Maintainers (1)
Last synced:
12 months ago
conda-forge.org: r-magic
- Homepage: https://github.com/RobinHankin/magic.git
- License: GPL-2.0-only
-
Latest release: 1.6_1
published over 3 years ago
Rankings
Dependent packages count: 7.1%
Dependent repos count: 24.0%
Average: 37.5%
Forks count: 55.9%
Stargazers count: 63.0%
Last synced:
11 months ago
Dependencies
DESCRIPTION
cran
- R >= 2.10 depends
- abind * depends
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- r-lib/actions/setup-tinytex v2 composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action v4.5.0 composite
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/recheck.yml
actions