Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

replaceMissingWithTRUE

Replace missing elements with TRUE


Description

When subsetting, missingness stands in for selecting all of the elements of that dimension. This gets tricky when you are selecting n dimensions and so need to capture the dimensions with .... This function checks if an element of a list is missing and replaces that element with TRUE in order to handle this case.

Usage

replaceMissingWithTRUE(l)

Arguments

l

a list

Value

a list


crunch

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.