spatiallong: Transformation of numeric matrices from wide to long format
Description
spatiallong transforms a set of two independent variables in vectors and a
dependent variable in a wide matrix to a long matrix that combines the information.
The result is exported as a data.frame.
Usage
spatiallong(x, y, z)
Arguments
x
vector of first independent variable. e.g. vector with x axis spatial points
y
vector of second independent variable. e.g. vector with y axis spatial points
z
matrix of dependent variable. e.g. matrix with z axis spatial points