Description Usage Arguments Examples

Returns a vector of distances from all rows in vR to the single row uR using ciR as the inverted covariance matrix.

1 | ```
ruler(vR, uR, ciR)
``` |

`uR` |
a vector of length k containing a list of values for all features (k) for the target. Numeric and dense. |

`vR` |
an n x k matrix containing a matrix of values for all features (k) for all candidates (n). Numeric and dense. |

`ciR` |
a square k x k matrix containing the inverted covariance matrix for all features (k). Numeric and dense. |

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.