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:
- scan_permutation(counts = counts2, zones = zones, population = NULL,
. n_mcsim = 1, max_only = TRUE)
- flipud(population)
- rev(seq_len(nrow(x)))
#' @Keywords internal
flipud <- function(x) {
x[rev(seq_len(nrow(x))), , drop = FALSE]
counts2.zip
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:
. n_mcsim = 1, max_only = TRUE)
#' @Keywords internal
flipud <- function(x) {
x[rev(seq_len(nrow(x))), , drop = FALSE]
counts2.zip