Description Usage Arguments Details Value See Also Examples
highlpoints
draws the highest similarities (per point) into an MDS graph.
1 2 3 |
similarity |
Similarity matrix. |
results |
Results of |
links |
Number of similarities that should be drawn per point.
Default is |
col |
Color of the points in 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 link
highest similarities per point, as
indicated by the similarity matrix similarity
, to the plot of the
respective map. The links belonging to one point are displayed in
the same color. If there is more than one similarity on the last rank
link
, all will be shown. 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 9 | ## Calculating an MDS using the package 'smacof' and showing the 3 highest
## similarities per point
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")
highlpoints(similarities, res, links = 3,
main = "3 Highest Similarities Per Point")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.