Description Usage Arguments Value Author(s)
This simple example of a test measurent function to be used with ccrepe
used in the same fashion that cor would be used
Some properties of the function:
1. Be able to take either two inputs which are vectors or one input which
is either a matrix or a data frame
3.In the case of one input, return a matrix in which the (i,j)th entry
is the similarity score for column i and column j in the original matrix
4.Resulting matrix must be symmetric
5.The inputs must be named x and y
1 | ccrepeSampleTestFunction(x, y = NA)
|
x |
x is a vector or a matrix |
y |
y is a vector. |
If x and y are vectors it returns a number: 0.5 If x is a matrix it returns a matrix of all 0.5
Emma Schwager <emma.schwager@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.