inst/examples/compute_tth_example.R

# calculate 2-theta for 001 kaolinite peak
compute_tth(d = 7.18)

# calculate 2-theta for 1st 3 00l kaolinite peaks
kaolinite_args <- tibble::tibble(d = 7.18, n = 1:3)
purrr::pmap_dbl(kaolinite_args, compute_tth)
evanmascitti/soiltestr documentation built on Oct. 6, 2022, 5:32 p.m.