View source: R/effective_functions.r
assocfun | R Documentation |
Calculates the R-squared from a LOESS regression of
y on x. Can be used with outer
to produce the
a non-parametric correlation matrix.
assocfun(xind, yind, data)
xind |
column index of the x-variable |
yind |
column index of the y-variable |
data |
data frame from which to pull the variables. |
a squared correlation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.