Learn R Programming

zenplots (version 1.0.6)

next_move_tidy: Determine the next position to move to and the turn out of there

Description

Determine the next position to move to and the turn out of there

Usage

next_move_tidy(plotNo, nPlots, curpath)

Value

a list containing the next position to move to (nextpos) and the turn out of there (nextout); Interpretation: nextpos: position of plot number plotNo+1 in the (non-trimmed) occupancy matrix nextout: turn out of nextpos

Arguments

plotNo

current plot number

nPlots

total number of plots

curpath

the current path

Author

Marius Hofert and Wayne Oldford