getLambdaMin {quantsmooth} | R Documentation |
Test a set of smoothing parameters to find best fit to data
getLambdaMin(intensities,lambdas,...)
intensities |
numeric vector |
lambdas |
numeric vector; see quantsmooth |
... |
extra parameters for quantsmooth.cv ; currently only ridge.kappa |
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.
This function returns the lambda value that has the lowest cross validation value on this dataset
Jan Oosting
data(chr14) lambdas<-2^seq(from=-2,to=5,by=0.25) getLambdaMin(bac.cn[,1],lambdas)