lhs.ellipses.add {tlocoh} | R Documentation |
Creates bounding ellipses around each hull and computes the eccentricity as a metric of ellongation
lhs.ellipses.add(lhs, id = NULL, k = NULL, r = NULL, a = NULL, s = NULL, hs.names = NULL, status = TRUE, beep = FALSE, save.ellipses = TRUE, existing.ellipses = c("overwrite", "abort")[1])
lhs |
A LoCoH-hullset object |
id |
The name(s) of individuals to analyze |
k |
The k value of hullsets to analyze |
r |
The r value of hullsets to analyze |
a |
The a value of hullsets to analyze |
s |
The s value of hullsets to analyze |
hs.names |
The name(s) of saved hullsets to analyze |
status |
Show status messages (T/F) |
beep |
Beep when done (T/F) |
save.ellipses |
Save ellipses in the lhs object? (T/F). If False, only the eccentricity values of the ellipses are saved as a hull metric. |
existing.ellipses |
Whether to overwrite or abort if existing ellipses are saved |
A LoCoH-hullset object
Saving the ellipses is optional. If ellipses are not saved, the eccentricity values will still be computed and saved as a hull metric. The only real reason to save ellipses is if you wish to plot them.
Note creating ellipses is computationally intensive and can take a long time.