cutSelect: Title cutSelect

Description Usage Arguments Examples

View source: R/cutSelect.R

Description

cut a region of a spectra and substitutes it with a sequence with initial value i.start and end valye i.end

Usage

1
cutSelect(x, i.start, i.end)

Arguments

x

x to be cut

i.start

index value of the starting point for the cut to be performed

i.end

index value of the ending point for the cut to be performed

Examples

1
2
3
4
5
6
npoints=1000
x=seq(1,npoints)
y=(dnorm(x, mean=npoints/2, sd=npoints/10))
ycut=cutValue(y,10,40,0.003,0.001)
plot(y)
lines(ycut,col="red")

takos documentation built on Jan. 13, 2021, 4:11 p.m.

Related to cutSelect in takos...