list_kern_to_cov: Compute a covariance matrix for multiple individuals
Description
Compute the covariance matrices associated with all individuals in the
database, taking into account their specific inputs and hyper-parameters.
Usage
list_kern_to_cov(data, kern, hp, deriv = NULL)
Value
A named list containing all of the inverse covariance matrices.
Arguments
- data
A tibble or data frame of input data. Required column: 'ID'.
Suggested column: 'Input' (for indicating the reference input).
- kern
A kernel function.
- hp
A tibble or data frame, containing the hyper-parameters associated
with each individual.
- deriv
A character, indicating according to which hyper-parameter the
derivative should be computed. If NULL (default), the function simply returns
the list of covariance matrices.