get_path: Computing the path according to the provided method

View source: R/getpath.R

get_pathR Documentation

Computing the path according to the provided method

Description

Computing the path according to the provided method

Usage

get_path(
  turns = NULL,
  n2dcols = c("letter", "square", "A4", "golden", "legal"),
  n2dplots,
  method = c("tidy", "double.zigzag", "single.zigzag", "rectangular"),
  first1d = TRUE,
  last1d = TRUE
)

Arguments

turns

The turns

n2dcols

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.

n2dplots

The number of 2d plots to be laid out

method

A character string indicating the method according to which the path is built

first1d

A logical indicating whether the first 1d plot should be plotted

last1d

A logical indicating whether the last 1d plot should be plotted

Value

the path, a list containing the turns, the positions (indices in the occupancy matrix) and the the occupancy matrix

Author(s)

Marius Hofert and Wayne Oldford


zenplots documentation built on Nov. 8, 2023, 1:10 a.m.