-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi, I am new to R, so apologies if there is a very obvious solution that I should have known. I installed this package using the devtools install_github function, for R version 4.0.4 on Ubuntu 20.04.2 LTS. When I try to run the following code, I get an error saying that the AlphaShapeDiag function could not be found. Is this function meant to be called recursively and this is just a typo in the first letter? Or am I potentially missing some dependencies?
> library("TDA")
> X = read.csv("/test.csv")
> print(X)
x1 x2 x3
1 33.945 22.824 27.575
2 33.920 23.170 26.040
3 32.629 22.586 25.382
4 32.568 21.114 25.758
5 32.540 20.878 27.265
6 32.374 19.439 27.716
7 35.063 23.988 29.175
8 33.060 23.672 28.497
> alphaShapeDiag(X=X)
Error in AlphaShapeDiag(X = X, maxdimension = maxdimension, libraryDiag = library[2], :
could not find function "AlphaShapeDiag"
Metadata
Metadata
Assignees
Labels
No labels