Learn R Programming

aqp (version 2.1.0)

compareSites: Compare Site Level Attributes of a SoilProfileCollection

Description

Compare site level attributes of a SoilProfileCollection object, returning a distance matrix conformal with the output from NCSP(). Values are within the range of 0-1.

Usage

compareSites(x, vars, weights = rep(1, times = length(vars)), ...)

Value

dissimilarity / dist class object containing pair-wise distances, row/column names derived from profile_id(x)

Arguments

x

SoilProfileCollection object

vars

character vector listing one or more site level attributes of x

weights

numeric vector, same length as vars, variable weighting

...

additional arguments to cluster::daisy()

Details

This function is typically used in conjunction with the output from NCSP().

See Also