Skip to content

Commit 686783e

Browse files
Solomon KurzSolomon Kurz
authored andcommitted
minor code edits
1 parent 5d60d84 commit 686783e

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

14.Rmd

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ p1 <-
802802
geom_segment(data = f_b14.3_mi,
803803
aes(x = lower, xend = upper,
804804
y = kcal, yend = kcal),
805-
color = color, size = 1/4) +
805+
color = color, size = 1/4) +
806806
labs(subtitle = "Note: For the regression line in this plot,\nlog(mass) has been set to its median, 1.244.",
807807
x = "neocortex proportion",
808808
y = "kcal per gram") +
@@ -822,9 +822,8 @@ p2 <-
822822
ggplot(aes(x = logmass, y = neocortex)) +
823823
geom_point(color = "white") +
824824
geom_pointrange(data = f_b14.3_mi,
825-
aes(y = estimate,
826-
ymin = lower, ymax = upper),
827-
color = color, size = 1/3, shape = 1) +
825+
aes(y = estimate, ymin = lower, ymax = upper),
826+
color = color, size = 1/3, shape = 1) +
828827
scale_x_continuous("log(mass)", breaks = -2:4) +
829828
ylab("neocortex proportion") +
830829
coord_cartesian(xlim = range(data_list$logmass, na.rm = T),
@@ -925,7 +924,7 @@ p1 <-
925924
geom_segment(data = f_b14.4_mi,
926925
aes(x = lower, xend = upper,
927926
y = kcal, yend = kcal),
928-
color = color, size = 1/4) +
927+
color = color, size = 1/4) +
929928
labs(subtitle = "Note: For the regression line in this plot,\nlog(mass) has been set to its median, 1.244.",
930929
x = "neocortex proportion",
931930
y = "kcal per gram") +
@@ -945,9 +944,8 @@ p2 <-
945944
ggplot(aes(x = logmass, y = neocortex)) +
946945
geom_point(color = "white") +
947946
geom_pointrange(data = f_b14.4_mi,
948-
aes(y = estimate,
949-
ymin = lower, ymax = upper),
950-
color = color, size = 1/3, shape = 1) +
947+
aes(y = estimate, ymin = lower, ymax = upper),
948+
color = color, size = 1/3, shape = 1) +
951949
scale_x_continuous("log(mass)", breaks = -2:4) +
952950
ylab("neocortex proportion") +
953951
coord_cartesian(xlim = range(data_list$logmass, na.rm = T),

0 commit comments

Comments
 (0)