Synthesized functional signals with heterogeneous error. The underlying three coefficients correspond to 'dense', 'global sparse', and 'local sparse' functions. See doi:10.1111/biom.13684 for detailed configurations.
Usage
spfda_simulate(n = 1000, n_timepoints = 100, err = 1, scale = c(1, 1, 1))