modelSelection {INSPEcT} | R Documentation

## Visualize criteria used for rate variability

### Description

Method to visualize the criteria used to assess variability of rates.

### Usage

    modelSelection(object)

    ## S4 method for signature 'INSPEcT'
    modelSelection(object)

    ## S4 method for signature 'INSPEcT_model'
    modelSelection(object)

### Arguments

`object` | An object of class INSPEcT or INSPEcT_model

### Value

- modelSelection 'aic' compares nested models closest to the one with lowest AIC, 'llr' compares all nested models, 'hib' is a mix between the previous two. (default 'aic')

- preferPValue a logical, if TRUE (default) limit the search for best models among the ones with succeded the goodness of fit test.

- padj a logical, if TRUE (default) correct the p-values for multiple testing

- goodness_of_fit a numeric, the threshold for the goodness-of-fit test (default = .1)

- variability a numeric, a vector with the thresholds for the variability test (one threshold for each rate, default = c('s'=05, 'p'=.05, 'd'=.05))

- limitModelComplexity a logical that limits the complexity of the function used to describe dynamics to the length of the time-course (default = FALSE)

### Examples

    nascentInspObj10 <- readRDS(system.file(package='INSPEcT', 'nascentInspObj10.rds'))
    modelSelection(nascentInspObj10)

[Package INSPEcT version 1.20.0 Index]