Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not find function "AlphaShapeDiag" #38

Open
KiranTen63 opened this issue Mar 9, 2021 · 0 comments
Open

could not find function "AlphaShapeDiag" #38

KiranTen63 opened this issue Mar 9, 2021 · 0 comments

Comments

@KiranTen63
Copy link

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant