流行曲線(伝播)

伝播型流行曲線テンプレート。人から人への感染伝播パターンをプロット。

流行曲線伝播感染
流行曲線(伝播)

R Code (ggplot2)

library(ggplot2)

# ---- Epidemic Curve (Propagated) ----
# あなたのデータを入力してください
df <- data.frame(
  x = c(),
  y = c()
)

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Date", limits = c(0, 60)) +
  scale_y_continuous(name = "Number of cases", limits = c(0, 40)) +
  labs(title = "Epidemic Curve (Propagated)") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))