Compute effect: f(x1, x2, ...) that is constant over the response index t. Supports multi-argument functions for terms like `c(te(x1, x2))`.
compute_const_effect(..., f_x, n_yind)Numeric matrix (n x n_yind) of effect contributions (constant across columns).
Numeric vectors of covariate values (all same length n).
Function or numeric. If function, called with all covariates as separate arguments. If numeric, used directly (length 1 or n).
Integer, number of y evaluation points.