get_trait_units: Get the units of trait into the trait dictionary

Description Usage Arguments Value Author(s) Examples

View source: R/trait_tools.R

Description

Get the units of trait into the trait dictionary

Usage

1
get_trait_units(trait, trait_dict, dsource = 1)

Arguments

trait

trait abreviation

trait_dict

trait dictionary

dsource

source of the data 1: Hidap, 2: FieldbookApp.

Value

The units of the trait in which has been measured

Author(s)

omar benites

Examples

1
2
3
4
5
6
7
8
## Not run: 
# The data
data(potato_yield)
#str(potato_yield)
# NTP: Number of tuber planted
get_trait_units("NTP", potato_yield)

## End(Not run)

omarbenites/traittools documentation built on Dec. 24, 2019, 5:33 a.m.