dollarsign: Get data from column of horizon or site data in a...

$R Documentation

Get data from column of horizon or site data in a SoilProfileCollection

Description

Get the data from a column accessed by name x$name. Column names other than profile ID are not shared between site and horizons.

Usage

## S4 method for signature 'SoilProfileCollection'
x$name

Arguments

x

a SoilProfileCollection

name

a single column name in site or horizon table

Examples


data(sp1)

depths(sp1) <- id ~ top + bottom

# get data from a column by name (prop)
sp1$prop


aqp documentation built on Sept. 8, 2023, 5:45 p.m.