The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
lacunr
Quick-start guideThe standard workflow for lacunr
is fairly simple:
voxelize()
bounding_box()
lacunarity()
library(lacunr)
# create a data.frame of simulated point cloud data
set.seed(5678)
pc <- data.frame(X = rnorm(1000, 10), Y = rnorm(1000, 50), Z = rnorm(1000, 25))
# convert to voxels of size 0.5
vox <- voxelize(pc, edge_length = c(0.5, 0.5, 0.5))
# generate 3D array
box <- bounding_box(vox)
# calculate lacunarity curve
lac_curve <- lacunarity(box)
Lacunarity and H(r) curves can be plotted using
lac_plot()
, lacnorm_plot()
, or
hr_plot()
:
3D arrays generated by bounding_box()
can have their
dimensions selectively increased using pad_array()
:
# add two layers of empty space to the Z axis of the array
box_pad1 <- pad_array(box, z = 2)
# add two layers of occupied space to the Y axis of the array
box_pad2 <- pad_array(box, y = 2, fill = 1)
For more extensive explanation on these functions and their use,
please see the package documentation (available by typing
?lacunr
into your console), or the other vignettes via
browseVignettes("lacunr")
.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.