Error in using HCLUST

HI - I'm getting an error while running the HCLUST code below ... ALso - My distance matrix is big ... (Attached for reference)

Calculations ;

csim <- csim %*% t(csim)
cdist <- as.dist(1 - csim)
hc <- hclust(cdist, "ward.D")

Error : Error in hclust(cdist, "ward.D") : NA/NaN/Inf in foreign function call (arg 11)

Please suggest.

Thanks,
Parvati Patnaik

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.