Skip to content

Commit

Permalink
Update visualisation_matrix.data.frame.R
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jan 23, 2022
1 parent 19e44c9 commit b33776d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/visualisation_matrix.data.frame.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ visualisation_matrix.data.frame <- function(x, at = "all", target = NULL, factor
target <- names(x)
}

if (is.numeric(target)) {
if (is.numeric(target) || is.logical(target)) {
target <- names(x)[target]
}

Expand Down

0 comments on commit b33776d

Please sign in to comment.