plot.clusterSP: Plot clustered snow profiles

View source: R/plot.clusterSP.R

plot.clusterSPR Documentation

Plot clustered snow profiles

Description

Plot the snowprofileSet sorted and divided by clusters with vertical lines. If available also plot the centroid or medoid profiles beneath the snowprofileSets.

Usage

## S3 method for class 'clusterSP'
plot(
  x,
  SPx = NULL,
  centers = c("centroids", "medoids", "n")[1],
  include = c(NA, "rta_dist", "pu_dist")[1],
  hardnessResidualSPx = 1,
  SortMethod = c("hs", "unsorted"),
  ...
)

Arguments

x

a clusterSP object output by clusterSP

SPx

a sarp.snowprofile::snowprofileSet to be clustered

centers

plot either centroids, medoids or none profiles underneath each set of clustered profiles

include

plot rta or p_unstable distributions next to centroids

hardnessResidualSPx

Value within (0, 1) to control the minimum horizontal space of each layer that will be e colored irrespective of the layer's hardness. A value of 1 corresponds to no hardness being shown

SortMethod

sort profiles within each cluster by either snow depth hs (default) or unsorted

...

Additional parameters passed to sarp.snowprofile::plot.snowprofileSet

Author(s)

fherla shorton

See Also

clusterSP


sarp.snowprofile.alignment documentation built on Sept. 11, 2024, 9:23 p.m.