Skip to content

Commit aa121d3

Browse files
dsweber2dshemetov
andauthored
Update R/autoplot.R
Co-authored-by: Dmitry Shemetov <[email protected]>
1 parent 5126b72 commit aa121d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/autoplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ plot_bands <- function(
236236
alpha = 0.6,
237237
linewidth = 0.05) {
238238
innames <- names(predictions)
239-
na_levels <- length(levels)
239+
n_levels <- length(levels)
240240
alpha <- alpha / (n_levels - 1)
241241
# generate the corresponding level that is 1 - level
242242
levels <- (1 - levels) / 2

0 commit comments

Comments
 (0)