Skip to content

Commit

Permalink
Add absolute for 1/2 measures step
Browse files Browse the repository at this point in the history
  • Loading branch information
delosh653 committed Aug 18, 2023
1 parent a62bb0e commit 0522454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/infants_clean.R
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,7 @@ cleanbatch_infants <- function(data.df,
max_ind <- if (!all(is.na(df$comp_diff))){
which.max(df$comp_diff)
} else {
which.max(df$tbc.sd)
which.max(abs(df$tbc.sd))
}

# 19F/G: which exclusion
Expand Down

0 comments on commit 0522454

Please sign in to comment.