Learn R Programming

genpathmox (version 0.7)

lengths: Length of each element within a list

Description

Length of each element within a list

Usage

lengths(alist, out = "vector")

Arguments

alist

a list

out

string indicating the format of the output ("vector" or "list")

Value

A vector (or list) with the lengths of the elements in alist

Details

Internal function.