pgrid {transport} | R Documentation |
Constructor for the pgrid Class
Description
Construct an object of class "pgrid"
from a matrix or a higher-dimensional array.
Usage
pgrid(mass, boundary, gridtriple, generator, structure)
Arguments
mass |
a matrix or higher-dimensional array specifing the masses in each pixel / at each pixel centre. |
boundary , gridtriple , generator |
arguments specifying the positions of the pixels. At most one of these can be specified. |
structure |
optional character string specifying the structure of the grid.
Currently only |
Details
For more detailed explanations of the arguments and other components of the derived object of class "pgrid"
, see
pgrid-object
.
Author(s)
Dominic Schuhmacher dschuhm1@uni-goettingen.de
See Also
Description of pgrid objects.
Examples
m <- matrix(1:20, 4, 5)
a <- pgrid(m)
print(a)
print.default(a)
## Not run:
plot(a, rot=TRUE)
## End(Not run)
[Package transport version 0.15-2 Index]