compareModels: compare ConQuest models

Description Usage Arguments Value Author(s) Examples

View source: R/compareModels.R

Description

retrieves model information ( sample size, deviance, number of parameters ) and calculates AIC and BIC; if more than 1 model is specified models are compared ( AIC difference, BIC difference, Chi square prob. )

Usage

1
compareModels ( path , xlsx = NULL )

Arguments

path

either 1 of 4 inputs: [1] full path (directory + file name) of a ConQuest shw file [2] a list of ConQuest shw files (full paths) [3] a character vector of ConQuest shw files (full paths) [4] a folder in which it will be searched for ConQuest shw files

xlsx

full path (directory + file name) to Excel to be written (don't forget ".xlsx" suffix)

Value

returns a list of 2 data.frames: the first called 'models' contains model information; the second called 'model.comparison' contains information of model comparison

Author(s)

Martin Hecht

Examples

1
2
3
4
5
6
7
## Not run: 
# just run any example of \link{automateModels}
# then:
#      compareModels ( <folder> ) 
# e.g. compareModels ( "C:/temp/automateModels/Example3" ) 

## End(Not run)

eatRest documentation built on May 21, 2017, 3:54 a.m.

Search within the eatRest package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.