estimate_age_hdi: Estimate HDI from dental age estimate

Description Usage Arguments Value Examples

View source: R/estimate_age_hdi.R

Description

Estimate HDI from dental age estimate

Usage

1
estimate_age_hdi(age_est, n = 1e+05, interval = 0.5)

Arguments

age_est

numeric vector output from estimate_dental_age().

n

numeric number of samples to produce. Defaults to 1e5 for speed. Increase this number for investigating the tails of the distribution.

interval

numeric width of the HD interval. Defaults to 0.5

Value

numeric vector with the upper and lower bounds of the interval

Examples

1
2
3
means <- get_means_for_scores(x = ExampleScores[1, ])
age_est <- estimate_dental_age(means)
estimate_age_hdi(age_est)

Middleton-Lab/DentalAge documentation built on Dec. 17, 2021, 4:15 a.m.