Primary Dentition
For primary teeth, use dentition = "primary" (5 teeth
per quadrant):
primary_teeth <- paste0(
rep(c("ur", "ul", "lr", "ll"), each = 5), rep(1:5, 4)
)
d_primary <- expand.grid(
tooth_num = primary_teeth,
tooth_surface = c("buc", "lin", "mes", "dis", "occ"),
stringsAsFactors = FALSE
)
d_primary$prop <- runif(nrow(d_primary), 0, 0.5)
build_odontogram(
data = d_primary,
dentition = "primary",
title = "Primary Dentition \u2014 Simulated Caries",
color_high = "#E65100",
surfaces = c("buc", "lin", "mes", "dis", "occ"),
show_roots = FALSE
)