diamond.randlabels {diamonds}R Documentation

Labels for a hierarchically randomized partition

Description

Creates a vector of character labels for diamonds in a partition, where the labels are randomly permuted.

Usage

  diamond.randlabels (d)

Arguments

d depth of recursion of partition; if d=1, then no partition

Details

The labels are generated from a quadrant-recursive ordering, then randomly permuted at each level in the recursive hierarchy, see reference.

Value

A vector of the hierarchically randomized character labels for each diamond in the partition.

Author(s)

Denis White, white.denis@epa.gov

References

White, D., (2000) Global grids from recursive diamond subdivisions of the surface of an octahedron or icosahedron, Environmental Monitoring and Assessment, 64(1), 93-103.

See Also

diamond.randwalk, diamond.labels

Examples

  diamond.randlabels (2)

[Package diamonds version 1.0-4 Index]