Determine if it is required to reduce the size of the grid time points for each functional covariate.

do_need_to_reduce(param)

Arguments

param

a list containing p_threshold the maximum number of time points and p the actual number of time points for each functional covariate.

Value

a boolean value.

Examples

data(param1)
param1$p <- sapply(data1$grids,length)

do_need_to_reduce(param1)
#> [1] FALSE