array.to | R Documentation |
Converts a "gpagen"
array to a "list"
or a "matrix"
array.to(array, to)
array |
A |
to |
Either |
Thomas Guillerme
## Loading the plethodon dataset
require(geomorph)
data(plethodon)
## Performing a procrustes superimposition
procrustes <- geomorph::gpagen(plethodon$land, print.progress = FALSE)
## Transforming it into a list
array.to(procrustes, "list")
## Transforming it into a matrix
array.to(procrustes, "matrix")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.