list_kern_to_cov {MagmaClustR} | R Documentation |
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)
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. |
Value
A named list containing all of the inverse covariance matrices.
Examples
TRUE
[Package MagmaClustR version 1.2.0 Index]