Compute turns for zigzag

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

Arguments

nPlots

total number of plots

n2dcols

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

method

character string indicating which zigzag method to use

Value

turns

Author

Marius Hofert and Wayne Oldford