Skip to content
Prev 249299 / 398498 Next

how to check if an attribute exists

On Wed, Feb 2, 2011 at 7:22 PM, Nick Matzke <matzke at berkeley.edu> wrote:
If z is a list, you can test

is.null(z$a)

Peter