Learn R Programming

momr (version 1.1)

selectListSize: selectListSize

Description

This function will sextract a part of a list based on the length of its components. Typically a genebag list can be used. This function will work for uniclass lists of vectors and data frames.

Usage

selectListSize(l, min.size = 0, max.size = 0, names = FALSE)

Arguments

l
: a list of vectors or matrixes.
min.size
: default = 0 and this has no action. This is the lower threshold for the element's size.
max.size
: default = 0 and this has no action. This is the upper threshold for the element's size.
names
: default = FALSE the function will return a subset of the list, if TRUE the function will return only the names of the elements of the list as identifiers.

Value

the trimmed subset of the list.

Details

selectListSize