assocfun: Association Function

View source: R/effective_functions.r

assocfunR Documentation

Association Function

Description

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.

Usage

assocfun(xind, yind, data)

Arguments

xind

column index of the x-variable

yind

column index of the y-variable

data

data frame from which to pull the variables.

Value

a squared correlation.


psre documentation built on Dec. 19, 2025, 1:07 a.m.

Related to assocfun in psre...