is_root_norm: Test Input Data.frame For Normalized Rootdetection Data Set

View source: R/data_processing.R

is_root_normR Documentation

Test Input Data.frame For Normalized Rootdetection Data Set

Description

The function tests whether a given object fulfills all criteria of a normalized Rootdetection data set. These standards are:

- The object has to be a data.frame

- The columns Label, LengthMM and LengthPx, Factor1 and Factor2 needs to be present

- LengthMM needs to store numeric values

- No length standard must be present

- hyphens (-) in Labels are not allowed

Usage

is_root_norm(root_norm)

Arguments

root_norm

data.frame; normalized Rootdetection data set

Value

logical; TRUE or FALSE

Examples

# normalize root_output
root_norm <- norm_10mm_standard(root_output)

# check data set for normalization
is_root_norm(root_norm)

PhilippJanitza/rootdetectR documentation built on Feb. 24, 2024, 6:46 a.m.