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-devel/mimosa documentation built on Sept. 21, 2019, 6:24 p.m.