DEtimeKernDiagCompute | R Documentation |
Retrieve the diagonal of the DEtime kernel matrix.
DEtimeKernDiagCompute(kern, X)
kern |
DEtime kernel structure to be computed |
X |
A two-column matrix where the first column of this matrix is the time points for control and perturbed conditions and the second column uses '1' to represent time points from control condition and '2' to represent time points from perturbed condition |
Kd <- DEtimekernDiagCompute(kern, X)
computes the diagonal of a DEtime kernel matrix for the given kernel.
Kd Vector containing computed diagonal elements of the kernel structure
kern <- list()
kern <- DEtimeKernParamInit(kern)
X <- matrix(c(seq(3:8),seq(4:8),rep(1,6),rep(2,5)),ncol=2)
Kd <- DEtimeKernDiagCompute(kern, X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.