Learn R Programming

rcosmo (version 1.1.6)

children: Return children of a pixel

Description

Gives four pixels at resolution \(j + 1\) that are contained in \(p\), where \(p\)is a pixel specified at resolution \(j\) (notice it does not depend on \(j\)).

Usage

children(p)

Value

A numeric vector of four nested pixel indices at resolution \(j+1\), identifying the children of pixel p.

Arguments

p

A pixel index specified in nested order.

Examples

Run this code
children(11)

Run the code above in your browser using DataLab