Learn R Programming

tab2xml (version 1.1.0)

is_cell_empty: Check if a dataframe cell is empty

Description

This function checks whether a given cell from a dataframe is empty. A cell is considered empty if it contains `NA` or an empty string (`""`).

Usage

is_cell_empty(cell)

Value

`TRUE` if the cell is empty (`NA` or `""`), otherwise `FALSE`.

Arguments

cell

A single value from a dataframe.