Displaying 2 results from an estimated 2 matches for "trmesh".
2012 Jul 19
1
[tripack] error in trmesh
...ing to triangulate a point set as follows:
> head(cbind(x,y))
x y
[1,] -78.1444 -60.4424
[2,] -78.1444 -58.4424
[3,] -78.1444 -56.4424
[4,] -78.1444 -54.4424
[5,] -76.1444 -60.4424
[6,] -76.1444 -58.4424
> length(x)
[1] 5000
> tri <- tri.mesh(x, y)
Fehler in tri.mesh(x, y) : error in trmesh
> tri <- tri.mesh(x, y, "remove")
Fehler in tri.mesh(x, y, "remove") : error in trmesh
> tri <- tri.mesh(x, y, "strip")
Fehler in tri.mesh(x, y, "strip") : error in trmesh
Zusätzlich: Warnmeldung:
In hist.default(i, plot = FALSE, freq = TRUE, br...
2009 Apr 04
1
error in trmesh (alphahull package)
...mple of my data (UTM coordinates)
> xcoords[1:5]
[1] 670080.2 670080.2 670080.2 670080.2 670080.2
> ycoords[1:5]
[1] 5005501 5005499 5005498 5005497 5005495
> xcoords[1:5]
#try the ashape routine with error
> alpha.shape<-ashape(xcoords,ycoords,15)
Error in tri.mesh(X) : error in trmesh
#get statistics to generate a similar dataset to test against
> length(xcoords)
[1] 26257
> length(ycoords)
[1] 26257
> mean(xcoords)
[1] 670462.4
> mean(ycoords)
[1] 5005382
> sd(xcoords)
[1] 149.3114
> sd(ycoords)
[1] 181.5950
#generate the test data
> xtest<-rnor...