powered by
Gives the pixel at resolution \(j - 1\) that contains \(p\), where \(p\) is specified at resolution \(j\) (notice it does not depend on \(j\)).
parent(p)
A numeric vector of nested pixel indices at resolution \(j-1\), identifying the parent containing each input pixel.
A pixel index specified in nested order.
parent(4) parent(5)
Run the code above in your browser using DataLab