Skip to contents

This dataset summarizes information about the 6 traits used in the fruits_traits dataset.

Usage

fruits_traits_cat

Format

A data frame with 8 rows (traits) and the following three columns:

trait_name

a character giving the trait name

trait_type

a character giving the trait type (O for Ordinal trait, N for Nominal trait, Q for Quantitative trait, and F for Fuzzy-coded trait)

fuzzy_name

a character giving the name of fuzzy-coded traits (i.e. Use) to which 'sub-traits' (i.e. raw, pastry, and jam) belongs

Note

If your dataset does not contain fuzzy trait, the column fuzzy_name can be ignored but the first two columns are mandatory.

Traits in this dataset correspond to columns (traits) of the fruits_traits dataset.

See also

fruits_traits, baskets_fruits_weights

Examples

if (FALSE) { # \dontrun{
# Load Traits Information
data("fruits_traits_cat", package = "mFD")
fruits_traits_cat

# Load Species x Traits Data Frame
data("fruits_traits", package = "mFD")

# Summarize Species x Traits Data
mFD::sp.tr.summary(tr_cat = fruits_traits_cat, sp_tr = fruits_traits)
} # }