if(!exists('meta') || is.null(meta)) meta <- packageDescription('GMX')
year <- sub('-.*', '', meta$Date)
note <- sprintf('R package version %s', meta$Version)
citation(auto = meta)

bibentry(bibtype = 'Manual',
         title   = '{GMX}: Extended Graphical Model Checks of RM/PCM/RSM for Multi-Group Splits',
         author  = person(c(given = 'Rainer W.', family = 'Alexandrowicz')),
         year    = 2023,
         version = 0.9-0,
         url     = 'https://osf.io/2ryd8/',
)

bibentry(bibtype = 'Article',
         title   = 'GMX: Extended Graphical Model Checks.
                    A Versatile Replacement of the plotGOF() Function of eRm',
         author  = person(c(given = 'Rainer W.', family = 'Alexandrowicz')),
         journal = 'Psychological Test and Assessment Modeling',
         year    = '2022',
         volume  = '64',
         issue   = '3',
         pages   = '215--225',
)

bibentry(bibtype = 'Article',
         title   = 'Extending GMX: Conditional Likelihood Ratio Test
                    and Extended Graphical Model Checks with psychotools',
         author  = person(c(given = 'Rainer W.', family = 'Alexandrowicz')),
         author  = 'Rainer W. Alexandrowicz',
         journal = 'Psychological Test and Assessment Modeling',
         year    = '2023',
         volume  = '65',
         issue   = '2',
         pages   = '259--269',
)

