.withness | R Documentation |
This function evaluates a numeric vector to determine the split point that minimizes the within-group variance.
.withness(x)
x |
A numeric vector containing the data to be analyzed. |
This is a translation of c++ code from the Meshlab Virtual Goniometer plugin developed by the AMAAZE consortium
A list containing the following components:
w
: The minimum within-group sum of squares (variance) for
the optimal split.
m
: The value at the optimal split point in the sorted data.
mlow
: The lower boundary value of the primary cluster around
the split point.
mhigh
: The upper boundary value of the primary cluster
around the split point.
## Not run:
data <- rnorm(100)
result <- Lithics3D:::.withness(data)
print(result)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.