get_cultivars_param {SticsRFiles} | R Documentation |
Extracts the values of cultivar-specific parameters from a plant file
get_cultivars_param(file)
file |
The path of a plant file. |
A data.frame with one row per cultivar and one column per parameter
path <- get_examples_path(file_type = "xml")
# Read from a plant file (all cultivars available in a plant file)
cv_param_df <- get_cultivars_param(file = file.path(path, "file_plt.xml"))