Learn R Programming

tooth (version 0.5.0)

tooth_convert: Convert between tooth numbering systems

Description

Converts between FDI (ISO 3950), Universal (ADA), and the internal quadrant format used by this package ("ur1", "ll5", etc.).

Usage

tooth_convert(x, from = "fdi", to = "quadrant", dentition = "permanent")

Value

Character vector in the target system.

Arguments

x

Character or numeric vector of tooth numbers.

from

Numbering system of the input: "fdi", "universal", or "quadrant".

to

Target numbering system: "fdi", "universal", or "quadrant".

dentition

"permanent" or "primary". Required when converting from/to "universal" with primary teeth.

Details

The "universal" system follows the standard ADA conventions: permanent teeth are numbered 1–32 (1 = upper-right third molar, 32 = lower-right third molar), while primary teeth use the letters A–T (A = upper-right second primary molar, T = lower-right second primary molar). FDI two-digit codes are 1148 for permanent and 5185 for primary dentition.

Examples

Run this code
tooth_convert("11", from = "fdi", to = "quadrant")
tooth_convert("ur1", from = "quadrant", to = "fdi")
tooth_convert(c("1", "16", "17", "32"), from = "universal", to = "fdi")
# Primary dentition uses ADA letters A-T for the universal system:
tooth_convert("ur1", from = "quadrant", to = "universal",
              dentition = "primary")   # "E"
tooth_convert("K", from = "universal", to = "fdi", dentition = "primary")

Run the code above in your browser using DataLab