d1iso | R Documentation |
Implements isoMDS(dist(data,dist_method),k=1)
, with
attributes of correlations with (scaled) rowMeans and with PCA component-1.
d1iso(data, dist_method = c("manhattan", "euclidean"))
data |
Must be numeric |
dist_method |
'manhattan' (default; L1 norm) or 'euclidean' (AKA OLS or L2 norm). |
Will break if identical cases are present.
d <- iris[1:100,c('Sepal.Length','Sepal.Width','Petal.Length','Petal.Width')]
d$isoDist <- d1iso(d)
ACmisc::pairsplot(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.