hclust size limit?

前端 未结 2 2003
执念已碎
执念已碎 2020-12-18 15:35

I\'m new to R. I\'m trying to run hclust() on about 50K items. I have 10 columns to compare and 50K rows of data. When I tried assigning the distance matrix, I get: \"Cannot

2条回答
  •  感情败类
    2020-12-18 16:04

    The size limit is being set by your hardware and software, and you have not given enough specifics to say much more. On a machine with adequate resources you would not be getting this error. Why not try a 10% sample before diving into the deep end of the pool? Perhaps starting with:

    reduced <- full[ sample(1:nrow(full), nrow(full)/10 ) , ]
    

提交回复
热议问题