sampleGrid {bdlp} | R Documentation |
Sample grid points for functional data
sampleGrid(total_n, minT, maxT, granularity, regular = FALSE)
total_n |
Number of Observations |
minT |
Minimum number of time points sampled |
maxT |
Maximum number of time points sampled |
granularity |
Number of possible time points in total |
regular |
If TRUE, maxT time points are sampled at the same time points for each function |
A binary matrix indicating whether the function should be evaluated at a given time point
sampleGrid(total_n = 10, minT = 4, maxT = 10, granularity = 20)