Skip to content

Commit

Permalink
minor x-axis
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Dec 1, 2023
1 parent 905cde5 commit 4c12bbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/plot.n_factors.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ data_plot.n_factors <- function(x, data = NULL, type = "bar", ...) {
# Inverse xlab and ylab for line plot
if (type == "line") {
attr(dataplot, "info") <- list(
ylab = paste("Number of", lab),
ylab = paste("Optimal number of", lab),
xlab = axis_lab
)
} else {
attr(dataplot, "info") <- list(
xlab = paste("Number of", lab),
xlab = paste("Optimal number of", lab),
ylab = axis_lab
)
}
Expand Down

0 comments on commit 4c12bbf

Please sign in to comment.