geofield | R Documentation |
The main object class for gridded data. Consists of a matrix with a number of attributes.
as.geofield(x=NA, domain, time = "", info = list())
is.geofield(x)
## S3 method for class 'geofield'
print(x, ...)
x |
a data matrix. If a vecor (or single value), this is cast to a matrix with dimensions required by the domain. |
domain |
A geodomain that should describe a domain with exactly the dimensions of x. |
time , info |
Time and a list of information that are added as attributes to the resulting geofield object. |
... |
Not used. |
The geofield class consists a data matrix and some attributes that describe the domain and the field value. An object is a data matrix with the following attributes:
domainThe domain description, a geodomain
class object. This is itself a list with elements:
projection
: Details of the grid's projection.\
nx,ny
: Number of gridpoints
SW,NE
: (Latitude,Longitude) pairs describing the outer cornes of the grid.
timeDate and time information of the data field.
infoOther information.
is.geofield |
returns TRUE if x is a geofield object. |
as.geofield |
returns a geofield object. If x is a matrix and a domain is specified, this is added as an attribute. |
geodomain
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.