kinfit_convolve: Convolution Function

View source: R/kinfitr_miscfuncs.R

kinfit_convolveR Documentation

Convolution Function

Description

Function to convolve two vectors of equal length for kinetic modelling.

Usage

kinfit_convolve(a, b, stepsize)

Arguments

a

A numeric vector of TAC function at equally spaced intervals

b

A numeric vector of TAC function at equally spaced intervals of equal length to a

stepsize

The time interval between each value of a and b

Value

A numeric vector of the convolved function of the same length as a and b

Author(s)

Granville J Matheson, mathesong@gmail.com

Examples

a <- rnorm(20)
b <- rnorm(20)
stepsize <- 1

kinfit_convolve(a, b, stepsize)

mathesong/kinfitr documentation built on Jan. 15, 2024, 11:07 p.m.