R/2.6.2.main.R

Defines functions getAGFI

getAGFI <- function(fit, fitTheta, fittingType) {
  if (fittingType == "PML") {
    GFI <- getGFIgofPML(fit, fitTheta)
  } else if (fittingType == "ULSC") {
    GFI <- getGFIgofULSC(fit, fitTheta)
  } else if (fittingType %in% c("GLSC2", "GLSC3")) {
    GFI <- getGFIgofGLSC(fit, fitTheta)
  } else if (fittingType == "GLSC4") {
    GFI <- getGFIgofGLSC4(fit, fitTheta)
  }

  AGFI <- AGFIcalculation(GFI, fit, fitTheta)

  return(AGFI)
}

Try the Mmcsd package in your browser

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

Mmcsd documentation built on March 31, 2023, 7:23 p.m.