Extracts non-ranking, plot-level trait data from a ClimMob trial object. The function detects variables ending in "_a", "_b", or "_c", infers the trait and collection moment, and reshapes the data into long format for analysis.
exportMeasuredTraits(x)A data frame of class CM_df with one row per genotype observation,
including block ID, plot, genotype name, collection moment, trait name, value,
and value type. Returns an empty CM_df if no measured traits are present.
If no measured traits are found in the data (i.e., no variables ending in "_a", "_b",
or "_c"), the function returns an empty CM_df object with valid column names.
Other export functions:
exportBlockData(),
exportTrialMetadata(),
exportTricotRanks(),
exportVariablesDescription()