Skip to content

Commit

Permalink
fix(plot_sex): lintr spaces
Browse files Browse the repository at this point in the history
Ref: #108
  • Loading branch information
GeraldineGomez committed Apr 25, 2024
1 parent 0909d3d commit 3ba2a7a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,10 @@ plot_sex <- function(data_agrupada,
}
if (porcentaje) {
plot_casos_sex <- ggplot2::ggplot(data_agrupada,
ggplot2::aes(x = .data[[col_sex]],
y = .data[[col_distribucion]],
ggplot2::aes(x =
.data[[col_sex]],
y =
.data[[col_distribucion]],
fill = .data[[col_sex]])) +
ggplot2::geom_bar(width = 0.5,
stat = "identity") +
Expand All @@ -565,8 +567,10 @@ plot_sex <- function(data_agrupada,
ncol = 2)
} else {
plot_casos_sex <- ggplot2::ggplot(data_agrupada,
ggplot2::aes(x = .data[[col_sex]],
y = .data[[col_distribucion]],
ggplot2::aes(x =
.data[[col_sex]],
y =
.data[[col_distribucion]],
fill = .data[[col_sex]])) +
ggplot2::geom_bar(width = 0.5,
stat = "identity") +
Expand Down

0 comments on commit 3ba2a7a

Please sign in to comment.