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 Oct. 19, 2024, 5:06 p.m.