R/locpol.npf.R
npf.binning.Rd
Aggregates the functional data into the regular grid of discretization points, i.e. computes the functional sample mean and the sample size.
npf.binning(x)
funcional data (npf.data-class object).
npf.data
class
Returns an S3 object of class npf.bin extending npsp::bin.data (bin data + grid par.).
npf.bin
npsp::bin.data
npsp::bin.data, locpol.npf.bin
locpol.npf.bin
fd <- npf.data(ozone, dimnames = "day") bin <- npf.binning(fd) plot(fd, col = "lightgray", legend = FALSE) with(bin, lines(data$x, biny))