Description Usage Arguments Value See Also Examples
A function modified from geomorph::readland.nts
to take a single .nts file and return an array that can be read by the geomorph
package. Avoids the bugs of geomorph::readland.nts
1 |
file |
Path to the input file |
Modified from geomorph::readland.nts
. . . Function returns a 3D array (p x k x n=1), where p is the number of landmark points, k is the number of landmark dimensions (2 or 3), and n is the number of specimens (one in this limited case). The third dimension of this array contains a name for the specimen which is obtained from the names in the *.nts file.
1 2 3 4 5 | #load a single nts file
file <- system.file("extdata", "echiostoma.nts", package = "geomorphcompanion")
nts.file <- readland.from1.nts(file=file)
print(nts.file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.