Skip to contents

A helper function for segment, box and cube counting fractal methods. The function divide the array into n pieces and counts how many are occupied.

Usage

cell_count_3d(pts, xmin, xmax, ymin, ymax, zmin, zmax, n)

Arguments

pts

Data frame with x, y, and z coordinates

xmin

Minimum x-value

xmax

Maximum x-value

ymin

Minimum y-value

ymax

Maximum y-value

zmin

Minimum z-value

zmax

Maximum z-value

n

Multiplier

Value

Number of filled cells