Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 13, 2023
1 parent 14eb426 commit cc30cd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/plot.parameters_pca.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ data_plot.parameters_pca <- function(x, data = NULL, ...) {
title <- paste0("Rotated loadings from ", title, " (", rotation_name, ")")
}

# remove missing values in y, to avoid warning
dataplot <- dataplot[!is.na(dataplot$y), ]

attr(dataplot, "info") <- list(
"xlab" = "",
Expand Down

0 comments on commit cc30cd0

Please sign in to comment.