powered by
Projects cepstral coefficient intercept and covariate effects onto the frequency domain using the cepstral basis functions.
effect_get(alpha, beta, frq, nbase, ind)
A list containing:
alpha_effect
Functional intercept across frequency.
beta_effect
Matrix of functional covariate effects.
A numeric vector of cepstral intercept coefficients.
A numeric matrix of regression coefficients.
Numeric vector of frequency points in [0,1].
[0,1]
Number of Fourier basis functions.
An integer vector indicating the indices of covariates to be included in the model.
frq <- seq(0, 1, length.out = 16)[2:8] alpha <- rnorm(3) beta <- matrix(rnorm(2 * 3), 2, 3) result <- effect_get(alpha, beta, frq, nbase = 3, ind = c(1, 2))
Run the code above in your browser using DataLab