1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/modelSelection.R
3 \name{modelSelection}
4 \alias{modelSelection}
5 \title{Among a collection of models, this function constructs a subcollection of models with
6 models having strictly different dimensions, keeping the model which minimizes
7 the likelihood if there were several with the same dimension}
8 \usage{
9 modelSelection(LLF)
10 }
11 \arguments{
12 \item{LLF}{a matrix, the first column corresponds to likelihoods for several models
13 the second column corresponds to the dimensions of the corresponding models.}
14 }
15 \value{
16 a list with indices, a vector of indices selected models,
17 and D1, a vector of corresponding dimensions
18 }
19 \description{
20 Among a collection of models, this function constructs a subcollection of models with
21 models having strictly different dimensions, keeping the model which minimizes
22 the likelihood if there were several with the same dimension
23 }