Input is checked for compatibility: When x
is a list, the
first two elements must have identical length. When y
is
defined, x
must be one dimensional and must have the same
length as argument y
. When onedim.allowed
is
FALSE, input must be twodimensional.
When input is one dimensional and unidim
is TRUE, y
gives the numbers of elements back.
Function works similar to xy.coords