Description Usage Arguments Details Value Examples
Make sure the provided metric for an inner product is ok
1 | check_metric(metric)
|
metric |
either |
if metric = NULL
this means the identity metric
Returns TRUE
if the metric is ok, errors otherwise
1 2 3 4 | check_metric(NULL)
check_metric(rep(1, 5))
check_metric(diag(1:5))
check_metric(matrix(1:25, 5, 5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.