Description Usage Arguments Value See Also Examples
Two-dimensional projection of the observations based on the alpha coefficients into a space spanned by the (projected) archetypes.
1 2 3 |
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## 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)
|
Loading required package: modeltools
Loading required package: stats4
Loading required package: nnls
Warning message:
'archmap' is deprecated.
Use 'simplexplot' instead.
See help("Deprecated")
Warning message:
'archmap' is deprecated.
Use 'simplexplot' instead.
See help("Deprecated")
Warning message:
'archmap' is deprecated.
Use 'simplexplot' instead.
See help("Deprecated")
Warning message:
'archmap' is deprecated.
Use 'simplexplot' instead.
See help("Deprecated")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.