Skip to content

Commit

Permalink
replave argument 'size' with 'linewidth'
Browse files Browse the repository at this point in the history
  • Loading branch information
JDLeongomez committed Jun 20, 2023
1 parent b7f2ad2 commit ccbf948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.R
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ server <- function(input, output) {

#Plot 1: Citations per publication, h-index and g-index
p1 <- ggplot(pubs, aes(x = rank, y = cites)) +
geom_abline(intercept = 0, slope = 1, color = input$accentCol, linetype = "dotted", size = 0.7) +
geom_abline(intercept = 0, slope = 1, color = input$accentCol, linetype = "dotted", linewidth = 0.7) +
geom_line(aes(color = "Citations per publication")) +
geom_line(aes(y = floor(sqrt(sums)), color = "Square root of cumulative\ncitations (rounded down)")) +
scale_color_manual(values = colors) +
Expand Down

0 comments on commit ccbf948

Please sign in to comment.