Learn R Programming

mvQuad (version 1.0-2)

copyNIGrid: copies an NIGrid-object

Description

copyNIGrid copies an NIGrid-object

Usage

copyNIGrid(object1, object2 = NULL)

Arguments

object1
original NIGrid-object
object2
destination; if NULL copyNIGrid returns a NIGrid-object otherwise the object2 will be overwritten.

Value

  • Returns a NIGrid-object or NULL

Examples

Run this code
myGrid <- createNIGrid(dim=2, type="GHe", level=5)
myGrid.copy <- copyNIGrid(myGrid)

Run the code above in your browser using DataLab