pgrid | R Documentation |
Construct an object of class "pgrid"
from a matrix or a higher-dimensional array.
pgrid(mass, boundary, gridtriple, generator, structure)
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 |
For more detailed explanations of the arguments and other components of the derived object of class "pgrid"
, see
pgrid-object
.
Dominic Schuhmacher dschuhm1@uni-goettingen.de
Description of pgrid objects.
m <- matrix(1:20, 4, 5)
a <- pgrid(m)
print(a)
print.default(a)
## Not run:
plot(a, rot=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.