View source: R/operation_on_susiF_obj.R
cal_partial_resid.EBmvFR | R Documentation |
Compute partial residual for effect l
## 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, ...)
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 |
a matrix of size N by size J of partial residuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.