Learn R Programming

tooth (version 0.5.0)

tooth_config: Generate tooth configuration for an arch

Description

Creates a tibble of tooth IDs for primary or permanent dentition with a configurable number of teeth per quadrant (5-8).

Usage

tooth_config(dentition = c("permanent", "primary"), teeth_per_quadrant = NULL)

Value

A tibble with columns: quadrant, num, tooth_id, is_upper.

Arguments

dentition

Character: "permanent" (default) or "primary".

teeth_per_quadrant

Integer 5-8. Defaults to 8 for permanent, 5 for primary.