find_nonnumeric_values: Find non-numeric data in a given column from a data frame

Description Usage Arguments Value Examples

Description

Check a data frame of quadrat data for invalid numeric data. The name of column to be checked must be indicated (e.g. counts, area, perimeter). This function returns rows from the original data frame that contain non-numeric (or NA or missing values) in the indicated column.

Usage

1
find_nonnumeric_values(df, column_name)

Arguments

df

Data frame of quadrta data

column_name

Name of column in df containing numeric data (e.g. 'area')

Value

Rows from df containing non-numeric density/area values, plus additional columns indicating error_type and error_value. If there are no errors, this will return an empty data frame.

Examples

1
find_nonnumeric_values(df, column_name = 'density')

emchristensen/quadprocessing documentation built on May 4, 2019, 4:15 a.m.