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)
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.