is_root_output: Test Input Data.frame For Rootdetection Output

View source: R/data_processing.R

is_root_outputR Documentation

Test Input Data.frame For Rootdetection Output

Description

The function tests whether a given object fulfills all criteria of a standard Rootdetection output. These standards are:

- The object has to be a data.frame

- The columns Label and LengthPx needs to be present

- LengthPx needs to store numeric values

- A length standard needs to be present (default = 10mm) - can be changed by argument length_standard

- hyphens (-) in Labels are not allowed

Usage

is_root_output(root_output, length_standard = "10mm")

Arguments

root_output

data.frame; output *.csv (list) from Rootdetection

length_standard

string; set name of the standard

Value

logical; TRUE or FALSE

Examples

is_root_output(root_output)

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