Learn R Programming

SticsRFiles (version 1.4.0)

get_cultivars_param: Get the values of cultivar-specific parameters from an xml plant file (*_plt.xml)

Description

Extracts the values of cultivar-specific parameters from a plant file

Usage

get_cultivars_param(file)

Value

A data.frame with one row per cultivar and one column per parameter

Arguments

file

The path of a plant file.

Examples

Run this code
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"))

Run the code above in your browser using DataLab