getLambdaMin {quantsmooth}R Documentation

getLambdaMin

Description

Test a set of smoothing parameters to find best fit to data

Usage

  getLambdaMin(intensities,lambdas,...)

Arguments

intensities numeric vector
lambdas numeric vector; see quantsmooth
... extra parameters for quantsmooth.cv; currently only ridge.kappa

Details

Cross validation is performed using a set of lambda values in order to find the lambda value that shows the best fit to the data.

Value

This function returns the lambda value that has the lowest cross validation value on this dataset

Author(s)

Jan Oosting

See Also

quantsmooth.cv

Examples

  data(chr14)
  lambdas<-2^seq(from=-2,to=5,by=0.25)
  getLambdaMin(bac.cn[,1],lambdas)


[Package quantsmooth version 1.4.0 Index]