numeric covariate vector of length nrow(y), defaults to equally spaced.
span
width of the smoothing window, in terms of proportion of the data set. Larger values produce smoother curves.
weights
relative weights of each observation, one for each covariate value.
degree
degree of local polynomial fit
Value
locfitByCol returns a numeric matrix.
Details
Fits a loess curve with degree 0 to each column of the response matrix, using the same covariate vector for each column.
The smoothed column values are tricube-weighted means of the original values.
locfitByCol uses the locfit.raw function of the locfit package.