Dear Geomorph Team,
I am using 45 landmarks and semilandmarks (landmarks 1 and 45 fixed and 2-44 semilandmarks) to investigate bone curvature in 25 specimens.
I wrote the following simple script:
library(geomorph).
data<-read.csv("Semi-Landmarks.csv", sep=";", header=FALSE)
coords<-as.matrix(datos[, -1]) storage.mode(coords)<-'numeric'
landmarks<-geomorph::arrayspecs(coords,p=45,k=3)
curve.mat<-geomorph::define.sliders(curves=list(2:24,26:44),nLandmarks=45)
gpagen(landmarks, curves = curve.mat, PrinAxes = FALSE)
However, I always get this error:
Error in geomorph::define.sliders(curves = list(2:24, 26:44), nLandmarks = 45): arguments were not used (curves = list(2:24, 26:44), nLandmarks = 45).
I've tried several solutions, including updating the geomorph version, but the error persists (I'm using version 4.0.10).
Can someone tell me where the error is?
I've attached my dataset in case it's needed.
Thank you in advance for any help with this basic question.
All the best,
Paolo
--Dr. Dean C. AdamsDistinguished ProfessorDirector, Ecology and Evolutionary Biology Graduate ProgramDepartment of Ecology, Evolution, and Organismal BiologyIowa State Universityphone: 515-294-3834