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

View source: R/mvQuad.R

size (size.NIGrid)R Documentation

returns the size of an NIGrid-object

Description

Returns the size of an NIGrid-object

Usage

size(object, ...)

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

## S3 method for class 'NIGrid'
dim(x)

Arguments

object

a grid of type NIGrid

...

other arguments passed to the specific method

x

object of type NIGrid

Value

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

Examples

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

mvQuad documentation built on Sept. 19, 2023, 5:06 p.m.