Question: problems with "hclust" installation
0
22 days ago by
harel.mic0 wrote:

Hi,

I'm having a problem installing hclust on R 3.6.1. I get this message-

Warning in install.packages : package 'hclust' is not available (for R version 3.6.1)

How can I solve this issue without using a different R version?

Thanks!

software error • 63 views
modified 22 days ago by Kevin Blighe390 • written 22 days ago by harel.mic0

2
22 days ago by
Kevin Blighe390
Kevin Blighe390 wrote:

hclust() is a function that belongs to the stats package. You do not have to install it, as it comes 'bundled' with R.

If simply running hclust() at your terminal does not function, then try either of:

library(stats)
hclust()


...or:

stats::hclust()