seawater d18O

14 views
Skip to first unread message

Igaratza Fraile

unread,
May 16, 2023, 7:23:38 AM5/16/23
to IsoriX
I would like to build seawater d18O isoscapes  within the Mediterranean Sea to determine the natal origin of marine organism based on the d18O composition of their calcified structures. 
But I get the following error:

colnames(YOYsum) <- c("source_ID", "lat", "long", "elev", "year", "month", "source_value")
Mediso <- prepsources(data = YOYsum)
MedFit <- isofit(data = Mediso, mean_model_fix = list(elev = F, lat_abs = TRUE))
MedScape <- isoscape(isofit = Mediso)
[1] Building the isoscapes... [1] (this may take a while) Error in if (isofit$mean_fit$spaMM.version != utils::packageVersion(pkg = "spaMM")) { : argument is of length zero

Alexandre Courtiol

unread,
May 16, 2023, 7:26:38 AM5/16/23
to IsoriX
Hi, welcome to IsoriX,

The issue here is that it should be:
MedScape <- isoscape(isofit = MedFit) and not MedScape <- isoscape(isofit = Mediso).
Best,

Alex

PS: I am on holidays this week (without laptop), so if you encounter more issues, please understand that my answers may be postponed untill next week.


Reply all
Reply to author
Forward
0 new messages