refund (version 0.1-23)

f_sum2: Sum computation 2

Description

Internal function used compute a sum in FPCA-based covariance updates

Usage

f_sum2(y, fixef, mu.q.c, kt, theta)

Arguments

y

outcome matrix

fixef

current estimate of fixed effects

mu.q.c

current value of mu.q.c

kt

number of basis functions

theta

spline basis