[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-geo
Subject:    Re: [R-sig-Geo] R 3.3.0 - spatstat 1.45-2 - envelope -- Error in nrank%%1 : non-numeric argument to 
From:       Domenico Giusti <dncgst () gnewarchaeology ! it>
Date:       2016-05-18 9:00:57
Message-ID: 573C2F49.3050409 () gnewarchaeology ! it
[Download RAW message or body]

Thank you!

P.S. I use to type the options, to remind me what I'm doing :)

On 05/17/2016 11:08 PM, Rolf Turner wrote:
> 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.
> 
> 

-- 
Domenico Giusti <dncgst@gnewarchaeology.it>
GPG keyID: 2048R/A3AB7054F6E5D778

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic