Learn R Programming

SticsRFiles (version 1.4.0)

get_cultivars_list: Get the cultivar names for an xml plant file (*_plt.xml)

Description

Extracts the cultivar names from a plant file

Usage

get_cultivars_list(file)

Value

A vector of cultivar names

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_list <- get_cultivars_list(file = file.path(path, "file_plt.xml"))

Run the code above in your browser using DataLab