Hello Chaona and Eric,
I tried to reproduce this problem using dsm 2.3.3 (the latest version on CRAN),
and could not. Below is a copy-paste from my R console. As you can see, when I
I get the data frames disttdata, obsdata, preddata and segdata
I am mystified why you are not, if you are using dsm 2.3.3. Perhaps we can
correspond off-list on this, and post to the list once we have a solution?
With best wishes, Len
R version 4.2.2 (2022-10-31 ucrt) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
Loading required package: mgcv
Loading required package: nlme
This is mgcv 1.8-41. For overview type 'help("mgcv-package")'.
Loading required package: mrds
This is mrds 2.2.7
Built: R 4.2.1; ; 2022-10-09 02:09:11 UTC; windows
Loading required package: numDeriv
This is dsm 2.3.3
Built: R 4.2.2; ; 2023-01-12 05:30:14 UTC; windows
 "distdata" "obsdata" "preddata" "segdata"
I am a member of the University and College Union and am currently
participating in industrial action to improve UK higher education
staff pension, pay, equality and working conditions. For more
information, please see
Len Thomas (he/him) len.t...@st-andrews.ac.uk lenthomas.org
Centre for Research into Ecological and Environmental Modelling
and School of Mathematics and Statistics
The Observatory, University of St Andrews, Scotland KY16 9LZ
Office: UK+1334-461801 Admin: UK+1334-461842
The University of St Andrews is a charity
registered in Scotland, No SC013532.