Skip to content

scan_permutation and scan_eb_poisson #4

@lhdatalab

Description

@lhdatalab

Hi Benjamin,

I was trying to us both of these functions in the scanstatistics package in a jupyter R notebook. It crashed the kernel for scan_eb_poisson (small sample based on simulated data and NMgeo), and was a long running operation for scan_permutations. Any ideas. 16GB RAM, 4core CPU, Windows 10.
``
Warning message in seq_len(nrow(x)):
"first element used of 'length.out' argument"

Error in seq_len(nrow(x)): argument must be coercible to non-negative integer
Traceback:

  1. scan_permutation(counts = counts2, zones = zones, population = NULL,
    . n_mcsim = 1, max_only = TRUE)
  2. flipud(population)
  3. rev(seq_len(nrow(x)))
    #' @Keywords internal
    flipud <- function(x) {
    x[rev(seq_len(nrow(x))), , drop = FALSE]

counts2.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions