model.grid {RGeostats} | R Documentation |

Sample a model on a grid

model.grid(model, grid = NA, nx = NA, dx = NA, ivar = 1, jvar = 1, flag.norm = FALSE,as.cov = FALSE)

`model` |
This is the |

`grid` |
When provided, the model is sampled over the cells of the grid. Otherwise, the grid is created by this procedure. |

`nx` |
Vector giving (half of) the number of grid nodes along each axis. If not specified, the grid is created in 2-D with nx=c(10,10). Only used if the argument grid is not provided. |

`dx` |
Vector giving the meshes of the grid along each axis. If absent, the defaulted mesh corresponds to a vector with all components equal to 1. Only used if the argument grid is not provided |

`ivar` |
Index of the first target field |

`jvar` |
Index of the second target field |

`flag.norm` |
If TRUE, the variogram is normalized by the variable variance before it is represented |

`as.cov` |
If TRUE, the structure is represented as a covariance; otherwise it is represented as a variogram. |

The grid containing the sampled model

[Package *RGeostats* version 11.1.1 Index]