Compute mean density function and covariance function for functional principal components analysis (FPCA)

FPC.Kern.S(x, t, N, h1 = NULL, h2 = NULL, bw = "ucv")

Arguments

x

time grid between 0 and 1

t

observed event times of all the individuals, can have duplicates

N

vector, contains num of observed event of each patient

h1

bandwidth for mean density function

h2

bandwidth for covariance function

bw

bandwidth selection method