distFitMonotone
takes the variance stabilized count values and
calculates a monotone fit for the distance dependency. The position
information about the viewpoint is stored in fragData
.
The signal trend is fitted for the data left and right to the viewpoint
separately using the fda package.
distFitMonotone(count, fragData, alpha = 20, penalty = 0.1, removeZeros = FALSE, ...)
floor((number of fragments))/alpha)
is passed to create.bspline.basis
as nbasis
argument (if this value is smaller than 4, 4 is the default value for nbasis
).
Default is 20
.fdPar
as lambda
argument.
Default is 0.1
.FALSE
.