Skip to content

Commit

Permalink
Add direct call to stats::IQR()
Browse files Browse the repository at this point in the history
  • Loading branch information
RLumSK committed Mar 6, 2025
1 parent 7d722d2 commit a156c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/calc_FadingCorr.R
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ calc_FadingCorr <- function(
tempMC <- tempMC[!is.na(tempMC)]

## discard wild outliers, as they will bias the error if present
tempMC <- tempMC[tempMC < 100 * IQR(tempMC)]
tempMC <- tempMC[tempMC < 100 * stats::IQR(tempMC)]

##obtain corrected age
age.corr <- data.frame(
Expand Down

0 comments on commit a156c48

Please sign in to comment.