Learn R Programming

sarp.snowprofile.alignment (version 1.0.2)

layerWeightingMat: Weighting scheme for preferential layer matching

Description

A matrix, of the same form as grainSimilarity_align, but containing weighting coefficients for preferential layer matching based on the grain types of the layers.

Usage

layerWeightingMat(triag = TRUE)

Arguments

triag

Return a triangular matrix (TRUE, default) or a symmetric matrix (FALSE)

Value

data.frame, either triangular or symmetric

Examples

Run this code
# NOT RUN {
weightsMat <- layerWeightingMat()
print(weightsMat)

# }

Run the code above in your browser using DataLab