Closed rrrlw closed 4 years ago
This is resolved in 03d5ac04bd01f9383e0ce274d9cc5227e924e78f. The problem with a single simplex was due to having omitted , drop = FALSE
from a data frame subsetting operation. There was also a problem with the case that no 2-simplices were created, due to my use of 1:n
rather than seq_int(n)
. Good catches again!
The following code creates an equilateral triangle and uses
stat_vietoris*
andstat_cech*
to visualize the faces of the resulting simplicial complex at a diameter of 1, but returns warnings that the computation failed instat_vietoris2
andstat_cech2
due to argument length of 0. Any thoughts on what's going on, @corybrunson? (using this example in a vignette under cran-prep branch of this repo)