View source: R/exportMeasuredTraits.R
| exportMeasuredTraits | R Documentation |
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)
x |
An object of class |
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.
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.
Other export functions:
exportBlockData(),
exportTrialMetadata(),
exportTricotRanks(),
exportVariablesDescription()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.