cutSelect {takos}R Documentation

Title cutSelect

Description

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

Usage

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

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")


[Package takos version 0.2.0 Index]