cal_partial_resid: Compute partial residual for effect l

View source: R/operation_on_susiF_obj.R

cal_partial_resid.EBmvFRR Documentation

Compute partial residual for effect l

Description

Compute partial residual for effect l

Usage

## S3 method for class 'EBmvFR'
cal_partial_resid(obj, l, X, D, C, indx_lst, ...)

cal_partial_resid(obj, l, X, D, C, indx_lst, ...)

## S3 method for class 'susiF'
cal_partial_resid(obj, l, X, D, C, indx_lst, ...)

Arguments

obj

a susiF or EBmvFR object

l

integer larger or equal to 1. Corresponds to the effect to be accessed

X

matrix of covariates

D

matrix of wavelet D coefficients from the original input data (Y)

C

vector of wavelet scaling coefficient from the original input data (Y)

indx_lst

list generated by gen_wavelet_indx for the given level of resolution

Value

a matrix of size N by size J of partial residuals


stephenslab/susiF.alpha documentation built on March 1, 2025, 4:28 p.m.