View source: R/distancematrix.R
DistanceMatrix  R Documentation 
DistanceMatrix
Compute a distance (dissimilarity) or similarity matrix between variables or cases.
DistanceMatrix(
input.data,
compare = "Variables",
case.labels = NULL,
variable.names = FALSE,
binary = FALSE,
measure = "Dissimilarities",
similarity.measure = "Correlation",
distance.measure = "Euclidian",
minkowski = 2,
standardization = "None",
standardize.by = "Case",
measure.transformation = "None",
show.cell.values = "Automatic",
show.row.labels = "Yes",
show.column.labels = "Yes",
subset = NULL,
weights = NULL
)
input.data 
A 
compare 
Whether 
case.labels 
If 
variable.names 
Whether to display variable names or labels. 
binary 
Whether to convert categorical variables to binary. 
measure 
Whether to measure 
similarity.measure 
How to calculate similarities. Options are 
distance.measure 
The method for mesuring distances. Options are 
minkowski 
The power used by 
standardization 
The method used to standardize the data. Options are 
standardize.by 
Whether to perform 
measure.transformation 
How to transform the measure. Options are 
show.cell.values 
Whether to show cell values on heatmap output. Choices are

show.row.labels 

show.column.labels 

subset 
An optional vector specifying a subset of cases to be used. 
weights 
An optional vector of sampling weights. 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.