array2tag | R Documentation |
This function inputs an array of dimensions p, k, n and saves *tag files
array2tag(dir = NULL, ID = NULL, string_del = NULL, propagated = FALSE, save.txt = FALSE)
ID |
Optional argument for specimens IDs. The default (NULL) is the file names. |
dir |
Optional argument. Directory where the *.ascii files are. Default (NULL) is the current working directory. |
string_del |
Optional argument. Indicates pattern in the specimens names to be deleted. Use only if ID = NULL. |
propagated |
Optional argument indicating if the landmarks have been propagated (extra line). The default is FALSE. |
save.txt |
Optional argument. Indicates whether to also save *.txt files with the landmark coordinates. |
This function returns an array of dimensions (p, k, n), in which p is the number of landmarks, k = 3 (number of dimensions), and n is the number of specimens.
Marta Vidal-Garcia
# my_array <- array(1:10, c(5,3,4))
# dimnames(my_array)[[3]] <- c("spec1", "spec2", "spec3", "spec4")
# array2tag(my_array)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.