Skip to content

Commit

Permalink
Fixed a bug in coherence(), and so in coherence_panel()
Browse files Browse the repository at this point in the history
  • Loading branch information
n3ssuno committed Apr 29, 2018
1 parent ea2e3a3 commit 76ed217
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/coherence.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ coherence <- function(data, geo_dim, kng_dim, kng_nbr,
stop('null_model must be of "reks_null_model" class')
}

ee <- .get_biadj_matrix(data, geo_dim, kng_dim, kng_nbr, 'simple')
# ee <- .get_biadj_matrix(data, geo_dim, kng_dim, kng_nbr, 'simple')
ee <- .get_biadj_matrix(data, geo_dim, kng_dim, kng_nbr, 'none')

en <- colnames(ee)
nc <- setdiff(colnames(null_model$t), colnames(ee))
Expand Down

0 comments on commit 76ed217

Please sign in to comment.