Message-ID: <5264ACFA.4010005@auckland.ac.nz>
Date: 2013-10-21T04:26:34Z
From: Rolf Turner
Subject: alltypes function in spatstats
In-Reply-To: <52641BCF.2050100@ub.edu>
On 10/21/13 07:07, "Jos? M. Blanco Moreno" wrote:
> Dear useRs and guRus,
>
> I am trying to rerun an analysis that was previously working (under R2.15 if I recall properly) but when updating to 3.0.1 stopped working, with an error message that I cannot diagnose:
>
> all.nests.hom <- alltypes(ppp.nests, fun="Lcross", nsim=nsim, envelope=T, global = T, verb=T, ginterval=c(0, 12.62), correction='border', rbord=5)
>
> Error in envelopeEngine(X = X, fun = fun, simul = simrecipe, nsim = nsim, :
> object 'csr.theo' not found
>
> As far as the code was concerned, I have not changed it a comma; and diving into the envelopeEngine function I cannot tell what is wrong...
>
> Any hint? I have read the documentation (OK, admittedly quickly) but no reference to having to supply anywhere a "crs.theo" object.
We have investigated. A bug was introduced by some recent revisions to
the suite of
envelope functions. The bug is somewhat subtle; it has now been
repaired (in the latest
version of spatstat --- 1.34-0) which will be released soon.
cheers,
Rolf Turner