Learn R Programming

quantsmooth (version 1.38.0)

quantsmooth.seg: quantsmooth.seg

Description

segmented Quantile smoothing of array data

Usage

quantsmooth.seg(y, x = 1:length(y), lambda = 2, tau = 0.5,kappa = 0, nb = length(x))

Arguments

y
numeric vector
x
numeric vector of same length as y. Position of values
lambda
numeric
tau
numeric [0..1], the quantile desired; see rq.fit
kappa
fudge parameter; see details
nb
integer, basis

Value

  • This function returns a vector of the same length as y

Examples

Run this code
data(chr14)
	plot(quantsmooth.seg(bac.cn[,1],lambda=2.8,nb=50),type="l")

Run the code above in your browser using DataLab