Skip to content

Commit

Permalink
Fixed small issue with cluster_concor()
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquesposito committed May 24, 2024
1 parent c3626f8 commit f875229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/model_cluster.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ cluster_concor <- function(.data, census){
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])
p_group[[i]] <- lapply(p_list, function(z) colnames(z))
p_group[[1]] <- lapply(p_list, function(z) colnames(z))
i <- 2

Check warning on line 84 in R/model_cluster.R

View check run for this annotation

Codecov / codecov/patch

R/model_cluster.R#L81-L84

Added lines #L81 - L84 were not covered by tests
} else i <- 1
while(!all(vapply(p_list, function(x) ncol(x)==1, logical(1)))){
Expand Down

0 comments on commit f875229

Please sign in to comment.