Skip to content

Commit

Permalink
Avoid i undefined issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jhollway committed May 24, 2024
1 parent f30fa52 commit 3aff8fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/model_cluster.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ cluster_concor <- function(.data, census){
if(is.null(colnames(p_list[[1]])))
colnames(p_list[[1]]) <- paste0("V",1:ncol(p_list[[1]]))
p_group <- list()
i <- NULL
if(manynet::is_twomode(.data)){
p_list <- list(p_list[[1]][, !manynet::node_mode(.data), drop = FALSE],
p_list[[1]][, manynet::node_mode(.data), drop = FALSE])
Expand Down

0 comments on commit 3aff8fc

Please sign in to comment.