Learn R Programming

mvQuad (version 1.0-8)

size (size.NIGrid): returns the size of an NIGrid-object

Description

Returns the size of an NIGrid-object

Usage

size(object, ...)

# S3 method for NIGrid size(object, ...)

# S3 method for NIGrid dim(x)

Value

Returns the grid size in terms of dimensions, number of grid points and used memory

Arguments

object

a grid of type NIGrid

...

other arguments passed to the specific method

x

object of type NIGrid

Examples

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

Run the code above in your browser using DataLab