The paper to descrbied the method is avaliable
An R package for Nonparametric Microbial Interdependence Test (NMIT)
I assume that all auxillary packages are already installed
From an interactive R session:
library(devtools)
install_github("elong0527/NMIT")
library(NMIT)
NMIT
is avaliable in https://qiime2.org/ at nmit. A tutorial is also avaliabe (link).