Description Usage Arguments Value Examples
View source: R/get_means_for_scores.R
This function expects a row with columns for "Canine", "P3", "P4", "M1", "M2", and "M3" that contain scores (or NA). A matrix of means and standard deviations for each tooth is returned.
1 | get_means_for_scores(x, verbose = TRUE)
|
x |
data frame with one row |
verbose |
boolean flag for printing diagnostic messages |
6 x 2 matrix with means and standard deviations for each tooth.
1 2 3 4 5 6 7 8 | get_means_for_scores(x = ExampleScores[1, ])
# Example from Seselj et al. (2019)
x <- data.frame(Sex = "M", Canine = "R.25", P3 = "R.25",
P4 = "R.i", M1 = "A.5",
M2 = "R.25", M3 = NA)
means <- get_means_for_scores(x)
estimate_dental_age(means)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.