c_listlengths: A simple function to compute the lengths of the elements of...

Description Usage Arguments Details Value

View source: R/RcppExports.R

Description

A simple function to compute the lengths of the elements of an R list

Usage

1

Arguments

L

a list

Details

This is equivalent to the base::lengths however it it much faster for long lists (and somewhat slower for short ones).

Value

An integer vector containing the length of each element of L


natcpp documentation built on July 13, 2021, 5:09 p.m.