Skip to content

Commit 00b45e6

Browse files
committed
Update ppd-distributions.R
1 parent f5679ef commit 00b45e6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

R/ppd-distributions.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ ppd_dens <-
198198
geom_density(
199199
aes(color = "PPD",
200200
fill = "PPD"),
201-
linewidth = 1,
201+
linewidth = size * 1.5,
202202
trim = trim,
203203
bounds = bounds,
204204
data = data2
@@ -251,7 +251,7 @@ ppd_hist <-
251251
geom_histogram(
252252
aes(color = "PPD",
253253
fill = "PPD"),
254-
linewidth = 1,
254+
linewidth = 0.25,
255255
binwidth = binwidth,
256256
bins = bins,
257257
breaks = breaks,
@@ -375,7 +375,7 @@ ppd_freqpoly <-
375375
stat = "bin",
376376
binwidth = binwidth,
377377
bins = bins,
378-
linewidth = 1,
378+
linewidth = size * 1.5,
379379
)
380380

381381
} else {
@@ -455,7 +455,7 @@ ppd_boxplot <-
455455
color = "PPD",
456456
fill = "PPD"),
457457
notch = notch,
458-
linewidth = 1,
458+
linewidth = size * 1.5,
459459
outlier.color = get_color("dh"),
460460
outlier.alpha = 2/3,
461461
outlier.size = 1

0 commit comments

Comments
 (0)