Skip to content

Commit

Permalink
Style updates
Browse files Browse the repository at this point in the history
Co-authored-by: Malcolm Barrett <malcolmbarrett@users.noreply.github.com>
  • Loading branch information
katelynqueen98 and malcolmbarrett committed Dec 11, 2023
1 parent f958e74 commit 5ee04df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/superPartition.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ super_partition <- function(full_data,

# keep looping until all clusters are under max cluster size
while(max(cs) > cluster_size) {
for (l in 1:length(cs)) {
for (l in seq_along(cs)) {
# if cluster size is over max cluster size...
if(cs[l] > cluster_size) {
# cluster again
Expand Down

0 comments on commit 5ee04df

Please sign in to comment.