Learn R Programming

dSTEM (version 2.0-1)

snr: Compute SNR of a certain change point location

Description

Compute SNR of a certain change point location

Usage

snr(order, gamma, is.jump, jump, diffb, addb)

Value

value of SNR

Arguments

order

order of derivative of data

gamma

bandwidth of Gaussian kernel

is.jump

logical value indicating if the location to be calculated is a jump point

jump

jump height

diffb

difference of the slopes on left and right sides of the location

addb

sum of the slopes, only used when order is 1