length.bk: The number of grid-points

View source: R/bk.R

length.bkR Documentation

The number of grid-points

Description

Returns the total number of points in the grid, which is the product of the number of y and x grid lines (gdim).

Usage

## S3 method for class 'bk'
length(x)

Arguments

x

a bk object

Value

integer

Examples

g = bk_validate(list(gval=rnorm(4^2), gdim=4, gres=0.5))
length(g)

deankoch/pkern documentation built on Oct. 26, 2023, 8:54 p.m.