Description Usage Arguments Details Value Author(s) See Also
Fitting a curve with monotonic spline
1 | monoSpline(x, y, newX=NULL, nKnots = 6, ifPlot = FALSE)
|
x |
a vector represents x values |
y |
a vector represents y values |
newX |
the new values to be transformed. If not provided, "x" will be used. |
nKnots |
parameter used by function smoothCon in package mgcv |
ifPlot |
determine whether to plot intermediate results |
Function internally called by monoSmu
return the transformed "newX" based on the smoothed curve
Simon Lin, Pan Du
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.