View source: R/operation_on_susiF_obj.R
test_stop_cond.EBmvFR | R Documentation |
Check tolerance for stopping criterion
## S3 method for class 'EBmvFR'
test_stop_cond(obj, check, cal_obj, Y, X, D, C, indx_lst, ...)
test_stop_cond(obj, check, cal_obj, Y, X, D, C, indx_lst, ...)
## S3 method for class 'susiF'
test_stop_cond(obj, check, cal_obj, Y, X, D, C, indx_lst, ...)
obj |
a susiF object defined by init_susiF_obj function |
check |
numeric, dynamic value for testing outing of th while loop |
cal_obj |
logical, if set to TRUE compute ELBO |
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.