IScalc bundles popular insulin sensitivity indexes, so you don't need an extra excel sheet or to copy paste a function.
You can install it with
# install.packages("devtools")
devtools::install_github("jcpsantiago/IScalc")
Comparisons between each index and the hyperinsulinaemic-euglycaemic clamp are discussed in Otten et al., 2014
Fasting indices:
OGTT indices:
- Implement OGIS.
- Reimplement the functions using switch