check.for.columns {directlabels}R Documentation

check for columns

Description

Stop if a data.frame does not have some columns.

Usage

check.for.columns(d, 
    must.have)

Arguments

d

data.frame to check.

must.have

column names to check.

Author(s)

Toby Dylan Hocking <toby.hocking@r-project.org> [aut, cre] (ORCID: <https://orcid.org/0000-0002-3146-0865>)


[Package directlabels version 2025.6.24 Index]