Description Usage Arguments Details Value See Also Examples
highlall
draws the highest similarities (overall) into an MDS graph.
1 2 3 |
similarity |
Similarity matrix. |
results |
Results of |
quantile |
Percentage of the highest similarities that should be drawn.
Default is |
col |
Color of the graph. Default is |
coordinates |
If |
add |
If |
xlim |
Numeric vector giving the x coordinates range. |
cex.labels |
Numeric value indicating font size of the labels. |
main |
Title of the plot. |
This function is applicable to an MDS solution computed with the package
'smacof
' (Mair, De Leeuw, Borg, & Groenen) or a set of
coordinates. It adds the quantile
percent of highest similarities, as
indicated by the similarity matrix similarity
, to the plot of the
respective map. The objects must occur in the same order in the results/
coodinates and the similarity matrix.
Nothing.
1 2 3 4 5 6 7 8 | ## Calculating an MDS using the package 'smacof' and showing the 25%
## highest similarities
data(SDG_coocurrence)
SDG_coocurrence <- SDG_coocurrence[,-2] # Drop second column
similarities <- simi(SDG_coocurrence, method = "as")
dissimilarities <- 1 - similarities
res <- smacof::smacofSym(dissimilarities, type = "ordinal")
highlall(similarities, res, quantile = 25, main = "25% Highest Similarities")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.