R: Remove NULL Values

deleteNULLs {RecordLinkage} | R Documentation

## Remove NULL Values

### Description

Removes all `NULL` elements from a list or vector.

### Usage

    deleteNULLs(x)

### Arguments

`x` | A vector or list

### Value

A copy of `x` with `NULL` values removed.

### Note

This function is internally used for simple lists and vectors. The behaviour for nested lists and vectors embedded in lists is not thoroughly tested.

### References

Taken from a posting by Jim Holtman on the R-help mailing list, https://stat.ethz.ch/pipermail/r-help/2006-August/111896.html

[Package RecordLinkage version 0.4-12.2 Index]