XPSCnvDcnv: XPSCnvDcnv concolution, deconvolution functions

View source: R/XPSCnvDcnv.r

XPSCnvDcnvR Documentation

XPSCnvDcnv concolution, deconvolution functions

Description

XPSCnvDcnv() is used to calculate the convolution of the two X, Y input arrays or deconvolve Y from X. deconvolution can be made using the fft and its inverse or the

Usage

XPSCnvDcnv(x, y, deco = FALSE)

Arguments

x

array to convolve

y

array to convolve

deco

= FALSE convolution of X, Y arrays, TRUE deconvolution of Y from X

Examples

## Not run: 
 x <- c(4, 13, 28, 34, 32, 21)
 y <- c(1, 2, 3)
 C <- XPSCnvDcnv(x, y, deco=TRUE)
 print(C)
 [1]  4 5 6 7

## End(Not run)

GSperanza/RxpsG_2.3-1 documentation built on Feb. 11, 2024, 5:09 p.m.