compareSites: Compare Site Level Attributes of a SoilProfileCollection

View source: R/compareSites.R

compareSitesR Documentation

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)), ...)

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().

Value

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

See Also

NCSP() cluster::daisy()


aqp documentation built on Oct. 19, 2024, 5:06 p.m.