Learn R Programming

takos (version 0.2.0)

simG: Title simG

Description

create a simulated spectra with gaussian shape

Usage

simG(vlen, i.start, gheight, shift = 0, wd = 30)

Arguments

vlen

desired length of the spectra

i.start

starting value for the peak

gheight

height value

shift

shift from 0

wd

width of the gaussian curve

Examples

Run this code
# NOT RUN {
y=(simG(500,35,1,0,w=20))
plot(y)

# }

Run the code above in your browser using DataLab