Return a spline fit of a increasing curve.
inc(y, x, spar = "v", limnla = c(-6, 0), grid = x, prec = 1e-06, maxit = 50, verbose = F)
a split fit together with the convergence information
a vecetor, used as the response data
a vector, used as the covariate. Assume an increasing relationshop of y
on x
a character string specifying a method for choosing the smoothing parameter. "v", "m" and "u" represent GCV, GML and UBR respectively. Default is "v" for GCV
a vector of length one or two, specifying a search range for log10(n*lambda), where lambda is the smoothing parameter and n is the sample size. If it is a single value, the smoothing parameter will be fixed at this value.
a vector of x
used to assess convergence. Default is x
a numeric value used to assess convergence. Default is 1e-6
an integer represeenting the maximum iterations. Default is 50.
an optional logical value. If `TRUE', detailed iteration results are displayed. Default is "FALSE"
Yuedong Wang yuedong@pstat.ucsb.edu and Chunlei Ke chunlei_ke@yahoo.com
This function is to fit a increasing fucntion to the data. The monotone function is expressed as integral of an unknown function that a cubic spline is used to estimate.
ssr