R/ClusterAMI.R

Defines functions ClusterAMI

Documented in ClusterAMI

ClusterAMI=function(Cls1,Cls2){

    if(requireNamespace("aricode",quietly = TRUE)){
      ami=aricode::AMI(Cls1, Cls2)
      
      return(ami)
    }else{
      warning("ClusterAMI:: Subordinate  package (aricode) is missing.
                  Please install the package which is defined in 'Suggests'.")
      return(
        "Subordinate  package (aricode) is missing.
                  Please install the package which is defined in 'Suggests'."
      )
      
      
    }
  
}

Try the FCPS package in your browser

Any scripts or data that you put into this service are public.

FCPS documentation built on Nov. 5, 2025, 7:44 p.m.