I am trying to analyze my research data on the geometric morphometrics of Pitcher plants.
iam attached my script below.
Install and load required R packages:
1#Install Momocs Package
install.packages("devtools")
install.packages("ggplot2")
devtools::install_github("MomX/Momocs")
library(Momocs)
Image Data Processing:
2#Import Images (black-and-white) from Folder
shape_1 <- list.files('D:/Folder Name', full.names=TRUE)
outline_shape_1<- import_jpg (shape_1)
shape_data<- Out(outline_shape_1)
3#Show the shape’s data (Visualize dataset)
panel(shape_data, names=TRUE, fac='type'palette=col_spring, names=TRUE)