Skip to content
Back to formatted view

Raw Message

Message-ID: <93b393fe-19eb-e5d0-2059-614cfa428a7e@auckland.ac.nz>
Date: 2016-05-17T21:08:23Z
From: Rolf Turner
Subject: R 3.3.0 - spatstat 1.45-2 - envelope -- Error in nrank%%1 : non-numeric argument to binary operator
In-Reply-To: <573B041C.3040805@gnewarchaeology.it>

On 17/05/16 23:44, Domenico Giusti wrote:
> Dear all,
>
> I get "Error in nrank%%1 : non-numeric argument to binary operator" running
>
>> data("amacrine")
>> E <- envelope(amacrine, Kcross, "on", "off", nsim=19, global=FALSE)
>
> Envelope works fine running
>
>> E <- alltypes(amacrine, Kcross, nsim=19, envelope=TRUE, global=FALSE)
>
> Thanks,

Try:

E <- envelope(amacrine, Kcross, funargs=list(i="on",j="off"),
               nsim=19,global=FALSE)

cheers,

Rolf Turner

P. S.  Note that you *do not need* to set "global=FALSE"; this is the 
default.

R. T.


-- 
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276