sampleGrid: Sample grid points for functional data

Description Usage Arguments Value Examples

View source: R/misc.R

Description

Sample grid points for functional data

Usage

1
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

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

bdlp documentation built on Jan. 13, 2021, 5:27 p.m.