Data-driven evaluation of generalized horizon labels using nMDS and silhouette width.
evalGenHZ(obj, genhz, vars, non.matching.code = "not-used", stand = TRUE, trace = FALSE, metric = "euclidean")
SoilProfileCollection objectdaisyisoMDS, (default = FALSE)daisyNon-metric multidimensional scaling is performed via isoMDS. The input distance matrix is generated by daisy using (complete cases of) horizon-level attributes from obj as named in vars.
Silhouette widths are computed via silhouette. The input distance matrix is generated by daisy using (complete cases of) horizon-level attributes from obj as named in vars. Note that observations with genhz labels specified in non.matching.code are removed filtered before calculation of the distance matrix.
a list is returned containing:
vars, computed by generalized horizon labelisoMDS