grepSPC | R Documentation |
grepSPC()
is a shorthand function for subsetting SoilProfileCollection
objects. For example, by filter(grepl(spc, ...))
or filter(stringr::str_detect(spc, ...))
. It provides pattern matching for a single text-based site or horizon level attribute.
grepSPC(object, attr, pattern, ...)
object |
A SoilProfileCollection |
attr |
A character vector (column in object) for matching patterns against. |
pattern |
REGEX pattern to match in |
... |
Additional arguments are passed to |
A SoilProfileCollection.
Andrew G. Brown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.