Archetypal maps
Two-dimensional projection of the observations based on the alpha coefficients into a space spanned by the (projected) archetypes.
archmap(object, projection = simplex_projection, projection_args = list(), rotate = 0, cex = 1.5, col = 1, pch = 1, xlab = "", ylab = "", axes = FALSE, asp = TRUE, ...)
object |
An |
projection |
Projection function; see
|
projection_args |
Arguments passed to the projection
function; see |
rotate |
Rotation angle to rotate the projection |
cex |
Character expansion of archetypes |
col |
Color of observations |
pch |
Point character of observations |
xlab |
A label for the x-axis |
ylab |
A label for the y-axis |
axes |
Logical value to draw axes or not |
asp |
The y/x aspect ratio |
... |
Arguments passed to the underlying plot function |
Invisible matrix with the projected archetypes
Other archmap: archmap_projections
,
atypes_projection
,
simplex_projection
,
tspsimplex_projection
## Not run: data("skel", package = "archetypes") skel2 <- subset(skel, select = -Gender) set.seed(1981) a <- archetypes(skel2, k = 5) ## Simplex projection: archmap(a, col = skel$Gender) ## Simplex projection with archetypes arranged according to their ## distances: archmap(a, col = skel$Gender, projection = tspsimplex_projection) archmap(a, col = skel$Gender, projection = tspsimplex_projection, projection_args = list(equidist = TRUE)) ## MDS projection: archmap(a, col = skel$Gender, projection = atypes_projection) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.