View source: R/data_processing.R
norm_cust_standard | R Documentation |
This function transforms Rootdetection output (*.csv as list) to a normalized Rootdetection data set. Compared to norm_10mm_standard function you can adjust several parameters defining the standard to obtain a normalized Rootdection data set. Therefore label_standard must match the label of your length standard measurements in the data.frame. In addition the exact mm value of the length standard must be provided.
norm_cust_standard(
root_output,
split = TRUE,
label_delim = ";",
col_label = "Label",
col_value = "LengthPx",
label_standard = "10mm",
standard_length_mm = "10"
)
root_output |
data.frame; *.csv output from Rootdetection containing length standard values |
split |
logical; if TRUE data.frame is sorted and label is split in Factor1 and Factor2 (necessary for standard procedure) |
label_delim |
character; defines how Factor1 and Factor2 are separated in Label |
col_label |
string; name of the column that should be used as grouping variable (Label) |
col_value |
string; name of the column containing the measured values in pixel (depending variable) (LengthMM) |
label_standard |
string; defines how the length standard is labeled in col_label |
standard_length_mm |
numeric; defines the length (in mm) of the standard |
data.frame; Rootdetection data set, containing normalized length values
# use data_set with standard called '20mm' and 20 mm measured
norm_cust_standard(root_output_multfac2,
label_delim = ";",
col_label = "Label", col_value = "LengthPx",
label_standard = "20mm", standard_length_mm = "20"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.