serpentine: Serpentine

View source: R/hello.R

serpentineR 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)

agricolaeplotr documentation built on July 26, 2023, 5:47 p.m.