Closed carlosparadis closed 6 years ago
This seems like an implementation detail, not a principled reason to use one or the other. Is that correct?
Done in c7234d71168b1e946a361bc00593bc5c4bf8e57e
Hi there, I'm still getting this error in v0.3.5. Is this the most up to date version?
When executing createJSON, the following error will be thrown:
Error in stats::cmdscale(dist.mat, k = 2) : NA values not allowed in 'd'
I traced it down to:
https://github.com/cpsievert/LDAvis/blob/51bb51e6f2dd26c9d495a76482018d94a9945ddc/R/createJSON.R#L298-L304
To reproduce the issue:
Reproducible dataset
Using
LDAvis
implementation shown at the start of this issue:The same test, using
cosine
function fromlsa
package: