distoon | R Documentation |
allows a function (particularly a self defined function) to be used in the quoted call of another function. an example of this is the heatmaply function which takes an argument 'distfun' which expects a quoted distance function such as "spearman" which cannot be substituted for a regular function name. instead use distoon to set the name and call distoon in it's place in the functions argument
distoon(x, meth)
x |
the data used |
meth |
the distance function (method) used |
distoon_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.