weighted_slr: Weighted simple linear regression

Description Usage Arguments Value

View source: R/weighted_slr.R

Description

Returns parameters from weighted regression of y on x (primary) and x on y (secondary, "reverse")

Usage

1
weighted_slr(x, y, wts, mInds, refImg = NULL)

Arguments

x

independent modality matrix of nhood values (primary)

y

dependent modality matrix of nhood values (primary)

wts

vector of kernel weights

mInds

indices for which to compute IMCo

refImg

reference image for header info

Value

L list including intercept and slope from both weighted SLRs


neuroconductor/mimosa documentation built on June 5, 2020, 12:39 a.m.