# Snow Profile Alignment, Aggregation, and Clustering

## Documentation for package ‘sarp.snowprofile.alignment’ version 2.0.2

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

averageSP | Average a group of snow profiles
averageSPalongSeason | Compute a seasonal timeseries of an average snowprofile
backtrackLayers | Backtrack layers from average or summary profile
chooseICavg | Get index of appropriate initial condition average profile
clusterSP | Cluster snow profiles
clusterSPcenters | Compute centroids/medoids for clustered snow profiles
clusterSPconfig | Configure clusterSP computation
clusterSPkdba | K-dimensional barycentric average clustering for snow profiles
concat_avgSP_timeseries | Concatenate time series of average profiles
dbaSP | Average a group of snow profiles
ddateDistance | Deposition Date Distance
densityDistance | Difference in layer density
distanceSP | Compute pairwise distances between snow profiles
distanceSPlayers | Calculate a multidimensional distance matrix between two profiles
dtwSP | Calculate DTW alignment of two snow profiles
extractFromScoringMatrix | Extract from Scoring matrix
flipLayers | Flip snow profile layers top down
grainSimilarity_align | Grain Type similarity matrix for DTW alignments
grainSimilarity_evaluate | Grain type similarity matrix for evaluation purposes
hardnessDistance | Difference in Hand Hardness
interactiveAlignment | Run interactive alignment app
layerWeightingMat | Weighting scheme for preferential layer matching
match_with_tolerance | Match with numeric tolerance
medoidSP | Find the medoid snow profile among a group of profiles
mergeIdentLayers | Merge layers with identical properties
ogsDistance | Difference in layer ogs
plot.clusterSP | Plot clustered snow profiles
plotCostDensitySP | Plot alignment cost density and warping path
plotSPalignment | Align and plot two snow profiles using DTW
puDistance | Difference in layer stability p_unstable
resampleSP | Resample snowprofile
resampleSPpairs | Resample a pair of profiles
reScaleSampleSPx | Rescale and resample a snow profile list
return_conceptually_similar_gtypes | Return conceptually similar grain types
rmZeroThicknessLayers | Remove layers with a thickness of 'zero cm'
scaleSnowHeight | Scale total height of a snow profile
sim2dist | Convert 'similarity' matrix to 'distance' matrix
simSP | Similarity measure between snow profile pairs
SPgroup2 | Additional example set of snow profiles
SPspacetime | Additional example set of snow profiles
swissSimilarityMatrix | Similarity Matrix of Snow Grain Types
warpSP | Warp one snow profile onto another one
warpWindowSP | Restrict the DTW warping window for snow profiles alignment