アウトブレイク流行曲線

アウトブレイク流行曲線テンプレート。感染症の発生パターンを時系列で表示。

流行曲線アウトブレイク感染症疫学
アウトブレイク流行曲線

R Code (ggplot2)

library(ggplot2)

# ---- Outbreak Epidemic Curve ----
# あなたのデータを入力してください
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 of Onset", limits = c(1, 30)) +
  scale_y_continuous(name = "Number of Cases", limits = c(0, 20)) +
  labs(title = "Outbreak Epidemic Curve") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))