fix memory leaks on EMGLLF, test OK for EMGrank
[valse.git] / man / modelSelection.Rd
CommitLineData
f2a91208 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
6models having strictly different dimensions, keeping the model which minimizes
7the likelihood if there were several with the same dimension}
8\usage{
9modelSelection(LLF)
10}
11\arguments{
12\item{LLF}{a matrix, the first column corresponds to likelihoods for several models
13the second column corresponds to the dimensions of the corresponding models.}
14}
15\value{
16a list with indices, a vector of indices selected models,
cad71b2c 17 and D1, a vector of corresponding dimensions
f2a91208 18}
19\description{
20Among a collection of models, this function constructs a subcollection of models with
21models having strictly different dimensions, keeping the model which minimizes
22the likelihood if there were several with the same dimension
23}
24