shrink: Rescale the given hexmatrix by factor of 0.5. The resulting...

Description Usage Arguments Value

View source: R/shrink.R

Description

Rescale the given hexmatrix by factor of 0.5. The resulting hexmatrix would have half of rows and half of columns of the original matrix. The values in cells will be summed appropriately.

Usage

1
shrink(m)

Arguments

m

A hexmatrix to shrink.

Value

A rescaled hexmatrix.


beerda/hexmatrix documentation built on May 2, 2021, 4:15 a.m.