comprehenr: List Comprehensions

Provides 'Python'-style list comprehensions. List comprehension expressions use usual loops (for(), while() and repeat()) and usual if() as list producers. In many cases it gives more concise notation than standard "*apply + filter" strategy.

Getting started

Package details

AuthorGregory Demin [aut, cre]
MaintainerGregory Demin <gdemin@gmail.com>
LicenseGPL-2
Version0.6.10
URL https://github.com/gdemin/comprehenr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("comprehenr")

Try the comprehenr package in your browser

Any scripts or data that you put into this service are public.

comprehenr documentation built on Jan. 31, 2021, 9:06 a.m.