Description Usage Arguments Value Note Author(s) Examples

Create a Grid object.

1 |

`levels` |
A list with the levels of the variables. The length
of the list gives the spatial dimension. The |

`nlevels` |
Integer vector giving the number of levels by
dimension. This formal argument is used only when |

`dimNames` |
If the list |

`index` |
An array with integer values and dimension corresponding to the spatial dimensions. Each value represent the number of the corresponding node in a "flat" representation (data.frame or matrix), and will be used in tasks such as interpolation. |

An object with S4 class `"Grid"`

. If needed, this
object can be coerced to a data frame or to a matrix by using the
methods `as.data.frame`

or `as.matrix`

.

If `index`

is not provided, the vectors in the
`levels`

list can be unsorted, and they will be
sorted. However, when a non-default `index`

is provided, the
levels must be sorted. This rule is intended to reduce the risk of
error.

Yves Deville

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.