Skip to content

Commit

Permalink
Consistent local function definition
Browse files Browse the repository at this point in the history
  • Loading branch information
robjhyndman committed Sep 17, 2024
1 parent 0669ef6 commit 126b6ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mvscale.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ mvscale <- function(object, center = stats::median, scale = robustbase::s_Qn,
return(s)
}
} else {
my_scale <- function(x, ...) {1}
my_scale <- function(x, ..., na.rm = TRUE) {1}
}
# Scale
if (d == 1L) {
Expand Down

0 comments on commit 126b6ad

Please sign in to comment.