plot_NMDS | R Documentation |
Quickly vizualise MDS and NMDS objects and build customs plots using the layers. See examples.
plot_NMDS(
x,
f = NULL,
axes = c(1, 2),
points = TRUE,
points_transp = 1/4,
chull = TRUE,
chullfilled = FALSE,
labelgroups = FALSE,
legend = TRUE,
title = "",
box = TRUE,
axesnames = TRUE,
palette = pal_qual
)
plot_MDS(
x,
f = NULL,
axes = c(1, 2),
points = TRUE,
points_transp = 1/4,
chull = TRUE,
chullfilled = FALSE,
labelgroups = FALSE,
legend = TRUE,
title = "",
box = TRUE,
axesnames = TRUE,
palette = pal_qual
)
x |
the result of MDS or NMDS |
f |
factor specification to feed fac_dispatcher |
axes |
|
points |
|
points_transp |
|
chull |
|
chullfilled |
|
labelgroups |
|
legend |
|
title |
|
box |
|
axesnames |
|
palette |
|
a plot
Other grindr:
drawers
,
layers_morphospace
,
layers
,
mosaic_engine()
,
papers
,
pile()
,
plot_LDA()
,
plot_PCA()
### First prepare an NMDS object
x <- bot %>% efourier %>% NMDS
plot_NMDS(x)
plot_NMDS(x, ~type) %>% layer_stars() %>% layer_labelpoints()
### Same on MDS object
x <- bot %>% efourier %>% MDS
plot_MDS(x)
plot_MDS(x, ~type) %>% layer_stars() %>% layer_labelpoints()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.