fit_nGaussian_ga: Fit N-Gaussian Peaks Using genetic algorithm

Description Usage Arguments

View source: R/FitFunctions_nGaussian_ga.R

Description

Fit N-Gaussian Peaks Using genetic algorithm

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
fit_nGaussian_ga(
  x,
  y,
  init_mus,
  init_ks,
  init_sigmas,
  lower_mus,
  lower_ks,
  lower_sigmas,
  upper_mus,
  upper_ks,
  upper_sigmas,
  maxit = 1000
)

Arguments

x

values of the x-axis to be fit

y

values of the y-axis to be fit

init_mus

initial guess of mu (the peak center) - either a single value to be applied globally or a value specifying each peak

init_ks

initial guess of k (the peak height)

maxit

pmbrophy/SummitR documentation built on May 20, 2020, 12:36 a.m.