makealtord: Creates vectors with highly distant neighbors

Description Usage Arguments Value

Description

Creates a vector of numbers 1 to n, where the neighbors are as distant as possible. For the grey scale plot, that guarantees, that the shades of grey are easy to distinguish. For instance, 1, 4, 2, 5, 3; all numbers have a distance of at least 2 and where possible 3.

Usage

1
makealtord(n = 3)

Arguments

n

Length of vector.

Value

Vector of length n.


pergola documentation built on May 2, 2019, 3:22 a.m.