Skip to content

Commit

Permalink
Update plot_common_support.R
Browse files Browse the repository at this point in the history
  • Loading branch information
gperrett authored Mar 4, 2023
1 parent a3ba6ee commit 176bb9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot_common_support.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ plot_common_support <- function(.model, .x = NULL, .y = NULL, rule = c('both',
.x <- .x[1, 1]
} else{
.x[is.nan(.x$complexity), 'complexity'] <- 0
.x <- .x[.x$complexity == max(x$complexity), 1]
.x <- .x[.x$complexity == max(.x$complexity), 1]
}
}
}
Expand Down

0 comments on commit 176bb9a

Please sign in to comment.