View source: R/reliabilityCategories.R
vector2matrix | R Documentation |
Function to convert a vector of data into a matrix
vector2matrix(data, coordinates)
data |
1*m (m = grid points) vector of data |
coordinates |
m*2 (m = grid points) 2D-matrix of grid points. First (second) column corresponds to longitudes (latitudes) |
A list with three elements: data: mx*my (mx = longitudes, my = latitudes) 2D-matrix of data xnod: vector (length mx) of longitudes ynod: vector (length my) of latitudes
R. Manzanas \& M.Iturbide
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.