parent: Return index of parent pixel

View source: R/NestSearch.R

parentR Documentation

Return index of parent pixel

Description

Gives the pixel at resolution j - 1 that contains p, where p is specified at resolution j (notice it does not depend on j).

Usage

parent(p)

Arguments

p

A pixel index specified in nested order.

Examples


 parent(4)
 parent(5)


frycast/rcosmo documentation built on Oct. 11, 2022, 5:21 p.m.