cell_count_1d | R Documentation |
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.
cell_count_1d(pts, xmin, xmax, n)
pts |
Data frame with x coordinates |
xmin |
Minimum x-value |
xmax |
Maximum x-value |
n |
Multiplier |
Number of filled cells
pts <- data.frame(x = rnorm(200, 0, 5))
cell_count_1d(pts, xmin = min(pts$x), xmax = max(pts$x), n = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.