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

1
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.

Details

selectListSize

Value

the trimmed subset of the list.

Author(s)

Edi Prifti

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.