can I combine 2 raster with wavelet transform in R? [closed]

I Have same problem, i will combine 2 raster data with wavelet fusion

r1<-brick("mask data/r1_mask_black.tif")