There are two ways to create functional data for modeling. The first is by specifying the positions and values of each observation point and obtaining it via the smooth_basis function of the BsplineFunc class; the second is by directly using the fd function in fda_func, specifying a known basis and coefficients.
There are two ways to create functional data for modeling. The first is by specifying the positions and values of each observation point and obtaining it via the
smooth_basisfunction of theBsplineFuncclass; the second is by directly using thefdfunction infda_func, specifying a known basis and coefficients.