Learn R Programming

zenplots (version 1.0.6)

get_zigzag_turns: Compute turns for zigzag

Description

Compute turns for zigzag

Usage

get_zigzag_turns(
  nPlots,
  n2dcols,
  method = c("tidy", "double.zigzag", "single.zigzag")
)

Value

turns

Arguments

nPlots

total number of plots

n2dcols

number of columns of 2d plots (>= 1)

method

character string indicating which zigzag method to use

Author

Marius Hofert and Wayne Oldford