sampleGrid {bdlp}R Documentation

Sample grid points for functional data

Description

Sample grid points for functional data

Usage

sampleGrid(total_n, minT, maxT, granularity, regular = FALSE)

Arguments

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

Value

A binary matrix indicating whether the function should be evaluated at a given time point

Examples

sampleGrid(total_n = 10, minT = 4, maxT = 10, granularity = 20)

[Package bdlp version 0.9-2 Index]