Computing the path according to the provided method
get_path(
  turns = NULL,
  n2dcols = c("letter", "square", "A4", "golden", "legal"),
  n2dplots,
  method = c("tidy", "double.zigzag", "single.zigzag", "rectangular"),
  first1d = TRUE,
  last1d = TRUE
)the path, a list containing the turns, the positions (indices in the occupancy matrix) and the the occupancy matrix
The turns
The number of columns of 2d plots (>= 1) or one of "letter", "square", "A4", "golden", "legal". Note that n2dcols is ignored if turns is not NULL.
The number of 2d plots to be laid out
A character string indicating the method according to which the path is built
A logical indicating whether the first 1d plot should be plotted
A logical indicating whether the last 1d plot should be plotted
Marius Hofert and Wayne Oldford