Compute all kernel matrices when simulating data
sim.kernels(
X,
types,
lengthscales,
X_affected,
bin_kernel,
useMaskedVarianceKernel,
steepness,
vm_params
)
covariates
vector of covariate types, so that
1 = ID
2 = age
3 = diseaseAge
4 = other continuous covariate
5 = a categorical covariate that interacts with age
6 = a categorical covariate that acts as an offset
vector of lengthscales
which individuals are affected by the disease
whether or not binary (mask) kernel should be used for categorical covariates (if not, the zerosum kernel is used)
should the masked variance kernel be used for drawing the disease component
steepness of the input warping function
parameters of the variance mask function
a 3D array