Skip to contents

Check whether any columns in the primary dataset contain NAs or NaNs. Returns column names containing NAs or NaNs.

Usage

nan_identify(dat, project)

Arguments

dat

Primary data containing information on hauls or trips. Table in the FishSET database contains the string 'MainDataTable'.

project

Project name.

Value

Returns names of columns containing NAs or NaNs, if any.

Details

Check whether any columns in the primary dataset contain NAs or NaNs.

See also

Examples

if (FALSE) {
nan_identify(pcodMainDataTable, "pcod")
}