Hello,
I am using the convhulln function of the geometry package in R to calculate the area or volume of a set of points. The coordinates originate from a principal coordinate analysis.
Unfortunately, R is reporting a bug and shuts down in some cases and I have no clue why.
I am using the following commands and this is an example of an input that causes collapsing of R
error_data.csv:
> tr.FRic
A1 A2
agrostol 0.6173727 -0.3677336
festrubr 1.3954408 -0.3376593
holclana 1.6402562 -0.3281966
lolipere 2.7853389 -0.2839363
poa_comp 0.7604766 -0.3622022
vicicrac 1.2000460 -0.3452118
> str(tr.FRic)
'data.frame': 6 obs. of 2 variables:
$ A1: num 0.617 1.395 1.64 2.785 0.76 ...
$ A2: num -0.368 -0.338 -0.328 -0.284 -0.362 ...
>convhulln(tr.FRic,"FA")
Thanks for any advice!
Andrea Schleicher