Skip to content

Commit

Permalink
minor code edits
Browse files Browse the repository at this point in the history
  • Loading branch information
Solomon Kurz authored and Solomon Kurz committed Mar 1, 2020
1 parent 5d60d84 commit 686783e
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions 14.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ p1 <-
geom_segment(data = f_b14.3_mi,
aes(x = lower, xend = upper,
y = kcal, yend = kcal),
color = color, size = 1/4) +
color = color, size = 1/4) +
labs(subtitle = "Note: For the regression line in this plot,\nlog(mass) has been set to its median, 1.244.",
x = "neocortex proportion",
y = "kcal per gram") +
Expand All @@ -822,9 +822,8 @@ p2 <-
ggplot(aes(x = logmass, y = neocortex)) +
geom_point(color = "white") +
geom_pointrange(data = f_b14.3_mi,
aes(y = estimate,
ymin = lower, ymax = upper),
color = color, size = 1/3, shape = 1) +
aes(y = estimate, ymin = lower, ymax = upper),
color = color, size = 1/3, shape = 1) +
scale_x_continuous("log(mass)", breaks = -2:4) +
ylab("neocortex proportion") +
coord_cartesian(xlim = range(data_list$logmass, na.rm = T),
Expand Down Expand Up @@ -925,7 +924,7 @@ p1 <-
geom_segment(data = f_b14.4_mi,
aes(x = lower, xend = upper,
y = kcal, yend = kcal),
color = color, size = 1/4) +
color = color, size = 1/4) +
labs(subtitle = "Note: For the regression line in this plot,\nlog(mass) has been set to its median, 1.244.",
x = "neocortex proportion",
y = "kcal per gram") +
Expand All @@ -945,9 +944,8 @@ p2 <-
ggplot(aes(x = logmass, y = neocortex)) +
geom_point(color = "white") +
geom_pointrange(data = f_b14.4_mi,
aes(y = estimate,
ymin = lower, ymax = upper),
color = color, size = 1/3, shape = 1) +
aes(y = estimate, ymin = lower, ymax = upper),
color = color, size = 1/3, shape = 1) +
scale_x_continuous("log(mass)", breaks = -2:4) +
ylab("neocortex proportion") +
coord_cartesian(xlim = range(data_list$logmass, na.rm = T),
Expand Down

0 comments on commit 686783e

Please sign in to comment.