morphology: Soil morphology

View source: R/morphology.R

morphologyR Documentation

Soil morphology

Description

Extract and process soil morphological properties from field soil morphology descriptions.

Usage

morphology(x, variable = "color")

Arguments

x

Character string with field soil morphology description (in Portuguese).

variable

Character string defining the soil morphological property of interest. Options: color, structure, consistence.

Value

An object of class data.frame.

Author(s)

Alessandro Samuel-Rosa alessandrosamuelrosa@gmail.com

Examples


horizons <- layer(data.set = "ctb0025", variable = "morfologia_descricao")
color <- morphology(x = horizons$morfologia_descricao, variable = "color")
structure <- morphology(x = horizons$morfologia_descricao, variable = "structure")
consistence <- morphology(x = horizons$morfologia_descricao, variable = "consistence")

x <- "cinzento rosado (7.5YR 6/2, seco), bruno escuro (7.5YR 3/2, úmido)"
color <- morphology(x = x, variable = "color")

febr-team/febr-package documentation built on April 22, 2022, 7:45 p.m.