plotDevianceChange: plot deviance change

Description Usage Arguments Details Value Author(s) Examples

Description

extract or plot (on console or to pdf) deviance change from ConQuest logfile

Usage

1
plotDevianceChange ( path , plot = TRUE , pdf = FALSE , out.path = NULL , extreme.crit = 0.75 ) 

Arguments

path

full path to or connection of ConQuest logfile, or just a path (in which ConQuest logfiles are to be (recursively) searched for)

plot

if TRUE deviance change plot is created

pdf

if TRUE plot ist written to pdf

out.path

path for pdf output file

extreme.crit

numeric, threshold criterion to remove outliers, is multiplied with standard deviation of deviance change

Details

ConQuest tends to not completely write out log if running and option 'update = yes' is used. To avoid warnings and malfunction manually delete the last potentially incomplete iteration from logfile. Points below 0 are red; if model converged ( see link{isConverged} for details ), the last point is larger and green

Value

depends on plot and pdf; if both are FALSE the deviance change data is returned, this is a named vector with names = iteration number and values = deviance change from previous iteration; if more than one ConQuest logfile is processed a list of named vectors is returned

Author(s)

Martin Hecht

Examples

1
2
3
4
5
## Not run: 
plotDevianceChange ( path = file.path( .Library , "eat/extdata/ConQuest.Log.Example1.log.bz2" ) )
plotDevianceChange ( path = file.path( .Library , "eat/extdata/ConQuest.Log.Example1.log.bz2" ) , plot = FALSE )

## End(Not run)

eatRest documentation built on May 2, 2019, 6:25 p.m.