serpentine {agricolaeplotr}R Documentation

Serpentine

Description

This function produces a serpentine array of integers beginning by one

Usage

serpentine(n, times, m = 1)

Arguments

n

integer value indicating the upper cap of a numeric sequence

times

integer number of replications

m

integer value indicating the lower cap of a numeric sequence

Value

vector containing the serpentine sequence

Examples

serpentine(n=20,times = 15)
serpentine(n=20,times = 15,m=4)

[Package agricolaeplotr version 0.5.0 Index]