Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のプロット (1 次元 x の場合) を作成したいと思いますが、観測値が x 軸の正しい位置に配置されるようにします (ランク位置ではありません)。
x <- c(1,2, 7, 9) names(x) <- x plot(hclust(dist(x)), hang= -1) axis(1)
Rでこれを行うための既製の関数はないと思います。そのような関数を作成する方法について何か提案はありますか?